[gtk+] gtk-demo: Remove an unncessary define



commit d89766ce4159fdda83043eb4c2d321696678f4f0
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 10 21:00:08 2015 -0400

    gtk-demo: Remove an unncessary define
    
    The changedisplay example no longer uses and deprecated
    API, so don't disable deprecations.

 demos/gtk-demo/changedisplay.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/demos/gtk-demo/changedisplay.c b/demos/gtk-demo/changedisplay.c
index 7525d8a..445af3f 100644
--- a/demos/gtk-demo/changedisplay.c
+++ b/demos/gtk-demo/changedisplay.c
@@ -2,7 +2,7 @@
  *
  * Demonstrates migrating a window between different displays.
  * A display is a mouse and keyboard with some number of
- * associated monitors. The neat thing about having multiple 
+ * associated monitors. The neat thing about having multiple
  * displays is that they can be on a completely separate
  * computers, as long as there is a network connection to the
  * computer where the application is running.
@@ -26,9 +26,6 @@
  *  - Using GtkDialog
  */
 #include <string.h>
-
-#undef GDK_DISABLE_DEPRECATED
-
 #include <glib/gi18n.h>
 #include <gtk/gtk.h>
 


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