[gtk+] GtkWidget: Undef GDK_DISABLE_DEPRECATED



commit 8c957ef3efc94e5fde657b9bf83e5207222df247
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 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 9033096..7e32528 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>



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