[gimp] app: Support building with GTK 2.24 for gimpscalecombobox.h



commit b370a0ebe63cac0728197ae5d9868bed9fcf4ae0
Author: Petr Ovtchenkov <abominable-snowman yandex ru>
Date:   Wed Feb 2 19:19:56 2011 +0100

    app: Support building with GTK 2.24 for gimpscalecombobox.h

 app/display/gimpscalecombobox.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/display/gimpscalecombobox.h b/app/display/gimpscalecombobox.h
index 9ab2db7..41819aa 100644
--- a/app/display/gimpscalecombobox.h
+++ b/app/display/gimpscalecombobox.h
@@ -22,7 +22,7 @@
 #define __GIMP_SCALE_COMBO_BOX_H__
 
 
-#if GTK_CHECK_VERSION(2,23,1)
+#if GTK_CHECK_VERSION(2,23,1) && !GTK_CHECK_VERSION(2,24,0)
 #undef GTK_DISABLE_DEPRECATED
 #undef GTK_DISABLE_SINGLE_INCLUDES
 #undef __GTK_COMBO_BOX_ENTRY_H__



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