diff options
author | Michael Natterer <mitch@imendio.com> | 2008-08-04 14:38:35 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-08-04 14:38:35 +0000 |
commit | aa435e024aa7c766252f659f2cba8753d1e09e80 (patch) | |
tree | 97946def978731db9ae34d1ed6df0481532ae66c /gtk/gtkpixmap.c | |
parent | dbd5b75e5ee61738c019550f8f2e8f4c85f5b7f8 (diff) | |
download | gtk+-aa435e024aa7c766252f659f2cba8753d1e09e80.tar.gz |
build with GTK_DISABLE_DEPRECATED again.
2008-08-04 Michael Natterer <mitch@imendio.com>
* gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again.
Fix pltcheck.sh by restricting the visibility of deprecated
symbols to the places where they are actually used:
* gtk/gtkclist.c
* gtk/gtkctree.c
* gtk/gtklistitem.c
* gtk/gtklist.c
* gtk/gtkprogressbar.c
* gtk/gtkpixmap.c
* gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define
__GTK_FOO_C__ on top instead of before including gtkaliasdef.c.
* gtk/gtkclist.h
* gtk/gtkctree.h
* gtk/gtklistitem.h
* gtk/gtklist.h
* gtk/gtkpixmap.h
* gtk/gtkprogress.h: make the headers visible if the respective
__GTK_FOO_C__ are defined.
svn path=/trunk/; revision=20970
Diffstat (limited to 'gtk/gtkpixmap.c')
-rw-r--r-- | gtk/gtkpixmap.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk/gtkpixmap.c b/gtk/gtkpixmap.c index d088c41071..dc902fd1d3 100644 --- a/gtk/gtkpixmap.c +++ b/gtk/gtkpixmap.c @@ -27,10 +27,13 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#undef GDK_DISABLE_DEPRECATED - #include "config.h" #include <math.h> + +#undef GDK_DISABLE_DEPRECATED +#undef GTK_DISABLE_DEPRECATED +#define __GTK_PIXMAP_C__ + #include "gtkcontainer.h" #include "gtkpixmap.h" #include "gtkintl.h" @@ -277,5 +280,4 @@ build_insensitive_pixmap (GtkPixmap *gtkpixmap) g_object_unref (G_OBJECT (stated)); } -#define __GTK_PIXMAP_C__ #include "gtkaliasdef.c" |