Exempt GTK+ from the mem chunk deprecation, since we need GTK+ 2.8 to
authorMatthias Clasen <mclasen@redhat.com>
Tue, 6 Dec 2005 14:16:27 +0000 (14:16 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 6 Dec 2005 14:16:27 +0000 (14:16 +0000)
2005-12-06  Matthias Clasen  <mclasen@redhat.com>

* glib/gmem.h: Exempt GTK+ from the mem chunk deprecation, since
we need GTK+ 2.8 to compile against GLib 2.10.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
glib/gmem.h

index 9cac684..dd69b65 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gmem.h: Exempt GTK+ from the mem chunk deprecation, since
+       we need GTK+ 2.8 to compile against GLib 2.10.
+
 2005-12-05  Manish Singh  <yosh@gimp.org>
 
        * tests/run-collate-test.sh: set LC_COLLATE, not LANG, to be sure
index 9cac684..dd69b65 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gmem.h: Exempt GTK+ from the mem chunk deprecation, since
+       we need GTK+ 2.8 to compile against GLib 2.10.
+
 2005-12-05  Manish Singh  <yosh@gimp.org>
 
        * tests/run-collate-test.sh: set LC_COLLATE, not LANG, to be sure
index 9cac684..dd69b65 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gmem.h: Exempt GTK+ from the mem chunk deprecation, since
+       we need GTK+ 2.8 to compile against GLib 2.10.
+
 2005-12-05  Manish Singh  <yosh@gimp.org>
 
        * tests/run-collate-test.sh: set LC_COLLATE, not LANG, to be sure
index c64c3b4..ec1fb69 100644 (file)
@@ -99,7 +99,7 @@ void  g_mem_profile   (void);
 
 
 /* deprecated memchunks and allocators */
-#ifndef G_DISABLE_DEPRECATED
+#if !defined (G_DISABLE_DEPRECATED) || defined (GTK_COMPILATION) || defined (GDK_COMPILATION)
 typedef struct _GAllocator GAllocator;
 typedef struct _GMemChunk  GMemChunk;
 #define g_mem_chunk_create(type, pre_alloc, alloc_type)        ( \