Temporary fix to get Windows build going again: undefine GTK_DISABLE_DEPRECATED if...
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 18 Aug 2011 16:15:23 +0000 (16:15 +0000)
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 18 Aug 2011 16:15:23 +0000 (16:15 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38606 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/prefs_dlg.c

index 01eabe7bc92c2f4591ea02437a0991fa101177d8..2192b6531f38d28e53e68cf8831e4c5d530eaffb 100644 (file)
 # include "config.h"
 #endif
 
+/* XXX - Temporary.  See http://www.wireshark.org/lists/wireshark-dev/201108/msg00373.html discussion */
+#ifdef _WIN32
+#undef GTK_DISABLE_DEPRECATED
+#endif
+
 #include <gtk/gtk.h>
 
 #include <string.h>
@@ -70,7 +75,6 @@
 #endif
 #endif
 
-
 static void     prefs_main_ok_cb(GtkWidget *, gpointer);
 static void     prefs_main_apply_cb(GtkWidget *, gpointer);
 static void     prefs_main_save_cb(GtkWidget *, gpointer);