Don't #include <glib/gslice.h> from gmem.h

It looks like this was done just to help people port from gmem to
gslice, but nothing in this header actually requires gslice.h to be
included.
This commit is contained in:
Ryan Lortie 2011-09-18 18:59:20 -04:00
parent e88a12caa0
commit 37c740d509
24 changed files with 25 additions and 3 deletions

View File

@ -35,6 +35,7 @@
#include "garray.h"
#include "gslice.h"
#include "gmem.h"
#include "gthread.h"
#include "gmessages.h"

View File

@ -25,9 +25,9 @@
#include <glib/gstrfuncs.h>
#include <glib/gatomic.h>
#include <glib/gslice.h>
#include <glib/gmem.h>
typedef struct
{
GBuffer buffer;

View File

@ -32,6 +32,7 @@
#include "gcache.h"
#include "gslice.h"
#include "ghash.h"
#include "gtestutils.h"

View File

@ -24,6 +24,7 @@
#include "gchecksum.h"
#include "gslice.h"
#include "gmem.h"
#include "gstrfuncs.h"
#include "gtestutils.h"

View File

@ -37,6 +37,7 @@
#include "gdataset.h"
#include "gbitlock.h"
#include "gslice.h"
#include "gdatasetprivate.h"
#include "ghash.h"
#include "gquark.h"

View File

@ -60,6 +60,7 @@
#include "gdatetime.h"
#include "gslice.h"
#include "gatomic.h"
#include "gfileutils.h"
#include "ghash.h"

View File

@ -352,6 +352,7 @@
#include "gerror.h"
#include "gslice.h"
#include "gstrfuncs.h"
#include "gtestutils.h"

View File

@ -37,6 +37,7 @@
#include "gstrfuncs.h"
#include "gatomic.h"
#include "gtestutils.h"
#include "gslice.h"
/**

View File

@ -28,6 +28,7 @@
#include "glib/galloca.h"
#include "gatomic.h"
#include "gslice.h"
#include "gmem.h"
#include "gstrfuncs.h"
#include "gtestutils.h"

View File

@ -36,6 +36,7 @@
#include "ghook.h"
#include "gtestutils.h"
#include "gslice.h"
/* --- functions --- */

View File

@ -31,6 +31,7 @@
#include "config.h"
#include "glist.h"
#include "gslice.h"
#include "gtestutils.h"

View File

@ -29,6 +29,7 @@
#include "gmarkup.h"
#include "gslice.h"
#include "galloca.h"
#include "gstrfuncs.h"
#include "gstring.h"

View File

@ -36,6 +36,7 @@
#include <string.h>
#include <signal.h>
#include "gslice.h"
#include "gbacktrace.h"
#include "gtestutils.h"
#include "gthread.h"

View File

@ -31,7 +31,6 @@
#ifndef __G_MEM_H__
#define __G_MEM_H__
#include <glib/gslice.h>
#include <glib/gtypes.h>
G_BEGIN_DECLS

View File

@ -35,6 +35,8 @@
#include "gnode.h"
#include "gslice.h"
#include "gtestutils.h"
/**

View File

@ -54,6 +54,7 @@
#include "gqueue.h"
#include "gtestutils.h"
#include "gslice.h"
/**
* g_queue_new:

View File

@ -24,6 +24,7 @@
#include "gmem.h"
#include "gtestutils.h"
#include "gslice.h"
/**
* SECTION:sequence
* @title: Sequences

View File

@ -31,7 +31,9 @@
#include "config.h"
#include "gslist.h"
#include "gtestutils.h"
#include "gslice.h"
/**
* SECTION:linked_lists_single

View File

@ -48,6 +48,7 @@
#include "grand.h"
#include "gstrfuncs.h"
#include "gtimer.h"
#include "gslice.h"
/* Global variable for storing assertion messages; this is the counterpart to

View File

@ -34,6 +34,7 @@
#include "ghash.h"
#include "gthread.h"
#include "gbufferprivate.h"
#include "gslice.h"
/**
* SECTION:timezone

View File

@ -34,6 +34,7 @@
#include "gatomic.h"
#include "gtestutils.h"
#include "gslice.h"
/**
* SECTION:trees-binary

View File

@ -32,6 +32,7 @@
#include "gtestutils.h"
#include "gvariant.h"
#include "gvarianttype.h"
#include "gslice.h"
/*
* two-pass algorithm

View File

@ -29,6 +29,7 @@
#include <glib/gvariant-core.h>
#include <glib/gtestutils.h>
#include <glib/gstrfuncs.h>
#include <glib/gslice.h>
#include <glib/ghash.h>
#include <glib/gmem.h>

View File

@ -26,9 +26,9 @@
#include <glib/gtestutils.h>
#include <glib/gthread.h>
#include <glib/gslice.h>
#include <glib/ghash.h>
/* < private >
* GVariantTypeInfo:
*