]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/taskbar.cpp
remove always-true tests of unsigned >= 0
[wxWidgets.git] / src / gtk / taskbar.cpp
index f3069bb79ec623b86328684d864a5888e8c5aea7..8a25c000fdd528c3302110faf21d5c28655e6974 100644 (file)
@@ -12,7 +12,7 @@
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#if wxUSE_TASKBARICON && defined(__WXGTK210__)
+#if wxUSE_TASKBARICON
 
 #include "wx/taskbar.h"
 
 #include "eggtrayicon.h"
 #include <gtk/gtk.h>
 
+#if !GTK_CHECK_VERSION(2,10,0)
+    typedef struct _GtkStatusIcon GtkStatusIcon;
+#endif
+
 class wxTaskBarIcon::Private
 {
 public: