]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/eggtrayicon.c
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / gtk / eggtrayicon.c
index b9b0b23b6bad5aa091c76e10aff4012300c93b0c..1e6fd9bf202ae986081ca02d2b490f7adc616f39 100644 (file)
@@ -106,7 +106,8 @@ Anders
 
 #include "wx/platform.h"
 
-#ifdef __WXGTK20__
+#if wxUSE_TASKBARICON
+
 #include <gtk/gtkversion.h>
 #if GTK_CHECK_VERSION(2, 1, 0)
 
@@ -634,5 +635,5 @@ egg_tray_icon_get_orientation (EggTrayIcon *icon)
 
 
 
-#endif /* __WXGTK20__ */
 #endif /* GTK_CHECK_VERSION(2, 1, 0) */
+#endif /* wxUSE_TASKBARICON */