diff options
author | Michael Natterer <mitch@imendio.com> | 2008-06-17 16:03:46 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-06-17 16:03:46 +0000 |
commit | bd69ea0a7cc171d4cffa2c6c21a1d8ef2bebfde4 (patch) | |
tree | 470925d7c1b4fb4f50fc8f3367bb8ca000803514 /gtk/gtkclist.c | |
parent | 96d61db4365e2610615942f88c69b1c120412d54 (diff) | |
download | gtk+-bd69ea0a7cc171d4cffa2c6c21a1d8ef2bebfde4.tar.gz |
build with GTK_DISABLE_DEPRECATED.
2008-06-17 Michael Natterer <mitch@imendio.com>
* gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
* gtk/gtkclist.c
* gtk/gtkcombo.c
* gtk/gtkctree.c
* gtk/gtklist.c
* gtk/gtklistitem.c
* gtk/gtkoldeditable.c
* gtk/gtkpixmap.c
* gtk/gtktext.c
* gtk/gtktipsquery.c
* gtk/gtktree.c
* gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
actually use deprecated symbols (not just types or macros),
#define it again before #include "gtkalias.h" so the symbols match
and the beast links.
svn path=/trunk/; revision=20433
Diffstat (limited to 'gtk/gtkclist.c')
-rw-r--r-- | gtk/gtkclist.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c index 58297816c4..ced0671dce 100644 --- a/gtk/gtkclist.c +++ b/gtk/gtkclist.c @@ -25,14 +25,17 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#undef GDK_DISABLE_DEPRECATED -#undef GTK_DISABLE_DEPRECATED - #include <config.h> #include <stdlib.h> #include <string.h> +#undef GDK_DISABLE_DEPRECATED + +#include <gdk/gdkkeysyms.h> + +#undef GTK_DISABLE_DEPRECATED + #include "gtkmain.h" #include "gtkobject.h" #include "gtkctree.h" @@ -41,7 +44,8 @@ #include "gtkdnd.h" #include "gtkmarshalers.h" #include "gtkintl.h" -#include <gdk/gdkkeysyms.h> + +#define GTK_DISABLE_DEPRECATED #include "gtkalias.h" /* length of button_actions array */ |