[gtk+] gtk-demo: Undef GDK_DISABLE_DEPRECATED to make test compile



commit d5f7b6cd64cec1cd9459fc77e2a1706be1ce2196
Author: Benjamin Otte <otte redhat com>
Date:   Wed Jan 5 23:25:33 2011 +0100

    gtk-demo: Undef GDK_DISABLE_DEPRECATED to make test compile

 demos/gtk-demo/changedisplay.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/demos/gtk-demo/changedisplay.c b/demos/gtk-demo/changedisplay.c
index ac467e7..951d373 100644
--- a/demos/gtk-demo/changedisplay.c
+++ b/demos/gtk-demo/changedisplay.c
@@ -27,6 +27,9 @@
  *  - Using GtkDialog
  */
 #include <string.h>
+
+#undef GDK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
 #include "demo-common.h"
 



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