[gtk-engines/gtk-engines-2-22] Fix deprecation check in mist.



commit 39dbb4533cf0fb98780bb7a76039687a419a0227
Author: Benjamin Berg <benjamin sipsolutions net>
Date:   Thu Jun 17 15:04:35 2010 +0200

    Fix deprecation check in mist.

 engines/mist/src/mist-style.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/engines/mist/src/mist-style.c b/engines/mist/src/mist-style.c
index 697db00..6ff6653 100644
--- a/engines/mist/src/mist-style.c
+++ b/engines/mist/src/mist-style.c
@@ -1161,9 +1161,9 @@ mist_style_draw_resize_grip(GtkStyle *style,
 	cairo_destroy(cr);
 }
 
-#ifndef GTK_DISABLE_DEPRECATED
-#ifndef GDK_DISABLE_DEPRECATED
-#define DISABLE_CUSTOM_STRING_DRAWING
+#ifdef GTK_DISABLE_DEPRECATED
+#ifdef GDK_DISABLE_DEPRECATED
+#define DISABLE_CUSTOM_STRING_DRAWING 1
 #warning Disabling custom string drawing so that no deprecated API is used.
 #endif /* GDK_DISABLE_DEPRECATED */
 #endif /* GTK_DISABLE_DEPRECATED */



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