[gtk+/xi2-playground: 13/15] GtkWidget: Undef GDK_DISABLE_DEPRECATED



commit 9c31cbde9bbc0b2caad94f4b016f29da026ee5d5
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Jun 8 15:28:04 2010 +0200

    GtkWidget: Undef GDK_DISABLE_DEPRECATED
    
    This is needed for gdk_input_set_extension_events(), used by its GTK+
    counterpart.

 gtk/gtkwidget.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 6eea6ff..b25641b 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -24,6 +24,8 @@
  * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
  */
 
+#undef GDK_DISABLE_DEPRECATED /* gdk_input_set_extension_events() */
+
 #include "config.h"
 #include <stdarg.h>
 #include <string.h>
@@ -128,7 +130,6 @@
 #define WIDGET_CLASS(w)	 GTK_WIDGET_GET_CLASS (w)
 #define	INIT_PATH_SIZE	(512)
 
-
 enum {
   SHOW,
   HIDE,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]