tInitial addition of GTK_DISABLE_DEPRECATED macro to kill off dodgy old GTK+1.2 rubbish. - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 5eb8fbe4b566ebde168496372aa330d1ae1db6f4
(DIR) parent 1d0be77e2b611ff206209506cf328a7e48ddb4cd
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Tue, 16 Apr 2002 15:19:52 +0000
Initial addition of GTK_DISABLE_DEPRECATED macro to kill off dodgy old
GTK+1.2 rubbish.
Diffstat:
M src/gtkport/gtkport.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/gtkport/gtkport.h b/src/gtkport/gtkport.h
t@@ -781,7 +781,11 @@ void gtk_container_set_size(GtkWidget *widget, GtkAllocation *allocation);
#else /* CYGWIN */
/* Include standard GTK+ headers on Unix systems */
-#define GTK_DISABLE_DEPRECATED 1
+
+/* We'd like to do this under GTK+2, but we can't until we get rid of
+ clists, gtk_object, etc.
+ #define GTK_DISABLE_DEPRECATED 1
+ */
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>