Commit 37c740d5 authored by Allison Karlitskaya's avatar Allison Karlitskaya

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.
parent e88a12ca
......@@ -35,6 +35,7 @@
#include "garray.h"
#include "gslice.h"
#include "gmem.h"
#include "gthread.h"
#include "gmessages.h"
......
......@@ -25,9 +25,9 @@
#include <glib/gstrfuncs.h>
#include <glib/gatomic.h>
#include <glib/gslice.h>
#include <glib/gmem.h>
typedef struct
{
GBuffer buffer;
......
......@@ -32,6 +32,7 @@
#include "gcache.h"
#include "gslice.h"
#include "ghash.h"
#include "gtestutils.h"
......
......@@ -24,6 +24,7 @@
#include "gchecksum.h"
#include "gslice.h"
#include "gmem.h"
#include "gstrfuncs.h"
#include "gtestutils.h"
......
......@@ -37,6 +37,7 @@
#include "gdataset.h"
#include "gbitlock.h"
#include "gslice.h"
#include "gdatasetprivate.h"
#include "ghash.h"
#include "gquark.h"
......
......@@ -60,6 +60,7 @@
#include "gdatetime.h"
#include "gslice.h"
#include "gatomic.h"
#include "gfileutils.h"
#include "ghash.h"
......
......@@ -352,6 +352,7 @@
#include "gerror.h"
#include "gslice.h"
#include "gstrfuncs.h"
#include "gtestutils.h"
......
......@@ -37,6 +37,7 @@
#include "gstrfuncs.h"
#include "gatomic.h"
#include "gtestutils.h"
#include "gslice.h"
/**
......
......@@ -28,6 +28,7 @@
#include "glib/galloca.h"
#include "gatomic.h"
#include "gslice.h"
#include "gmem.h"
#include "gstrfuncs.h"
#include "gtestutils.h"
......
......@@ -36,6 +36,7 @@
#include "ghook.h"
#include "gtestutils.h"
#include "gslice.h"
/* --- functions --- */
......
......@@ -31,6 +31,7 @@
#include "config.h"
#include "glist.h"
#include "gslice.h"
#include "gtestutils.h"
......
......@@ -29,6 +29,7 @@
#include "gmarkup.h"
#include "gslice.h"
#include "galloca.h"
#include "gstrfuncs.h"
#include "gstring.h"
......
......@@ -36,6 +36,7 @@
#include <string.h>
#include <signal.h>
#include "gslice.h"
#include "gbacktrace.h"
#include "gtestutils.h"
#include "gthread.h"
......
......@@ -31,7 +31,6 @@
#ifndef __G_MEM_H__
#define __G_MEM_H__
#include <glib/gslice.h>
#include <glib/gtypes.h>
G_BEGIN_DECLS
......
......@@ -35,6 +35,8 @@
#include "gnode.h"
#include "gslice.h"
#include "gtestutils.h"
/**
......
......@@ -54,6 +54,7 @@
#include "gqueue.h"
#include "gtestutils.h"
#include "gslice.h"
/**
* g_queue_new:
......
......@@ -24,6 +24,7 @@
#include "gmem.h"
#include "gtestutils.h"
#include "gslice.h"
/**
* SECTION:sequence
* @title: Sequences
......
......@@ -31,7 +31,9 @@
#include "config.h"
#include "gslist.h"
#include "gtestutils.h"
#include "gslice.h"
/**
* SECTION:linked_lists_single
......
......@@ -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
......
......@@ -34,6 +34,7 @@
#include "ghash.h"
#include "gthread.h"
#include "gbufferprivate.h"
#include "gslice.h"
/**
* SECTION:timezone
......
......@@ -34,6 +34,7 @@
#include "gatomic.h"
#include "gtestutils.h"
#include "gslice.h"
/**
* SECTION:trees-binary
......
......@@ -32,6 +32,7 @@
#include "gtestutils.h"
#include "gvariant.h"
#include "gvarianttype.h"
#include "gslice.h"
/*
* two-pass algorithm
......
......@@ -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>
......
......@@ -26,9 +26,9 @@
#include <glib/gtestutils.h>
#include <glib/gthread.h>
#include <glib/gslice.h>
#include <glib/ghash.h>
/* < private >
* GVariantTypeInfo:
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment