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
This commit is contained in:
committed by
Michael Natterer
parent
96d61db436
commit
bd69ea0a7c
@ -24,14 +24,18 @@
|
||||
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
|
||||
*/
|
||||
|
||||
#undef GDK_DISABLE_DEPRECATED
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
#undef GDK_DISABLE_DEPRECATED
|
||||
|
||||
#include "gdk/gdkkeysyms.h"
|
||||
#include "gdk/gdki18n.h"
|
||||
|
||||
#undef GTK_DISABLE_DEPRECATED
|
||||
|
||||
#include "gtkmain.h"
|
||||
#include "gtkmarshalers.h"
|
||||
#include "gtkselection.h"
|
||||
@ -43,6 +47,8 @@
|
||||
#include "line-arrow.xbm"
|
||||
#include "gtkprivate.h"
|
||||
#include "gtkintl.h"
|
||||
|
||||
#define GTK_DISABLE_DEPRECATED
|
||||
#include "gtkalias.h"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user