X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5dc224630b21a1b95e0f59b611fbb81311d4709e..233387bdcbb1c4f31c54b0fe6b3f03e8d261cab1:/src/gtk/eggtrayicon.c?ds=sidebyside diff --git a/src/gtk/eggtrayicon.c b/src/gtk/eggtrayicon.c index de2777a4fd..fb6a78067c 100644 --- a/src/gtk/eggtrayicon.c +++ b/src/gtk/eggtrayicon.c @@ -107,9 +107,10 @@ Anders #include "wx/platform.h" #include -#include -#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2, 1, 0) +#ifdef __WXGTK20__ +#include +#if GTK_CHECK_VERSION(2, 1, 0) #include #include "eggtrayicon.h" @@ -147,7 +148,8 @@ egg_tray_icon_get_type (void) (GInstanceInitFunc) egg_tray_icon_init }; - our_type = g_type_register_static (GTK_TYPE_PLUG, "EggTrayIcon", &our_info, 0); + our_type = g_type_register_static (GTK_TYPE_PLUG, "EggTrayIcon", + &our_info, (GTypeFlags)0); } return our_type; @@ -437,3 +439,4 @@ egg_tray_icon_cancel_message (EggTrayIcon *icon, } #endif /* __WXGTK20__ */ +#endif /* GTK_CHECK_VERSION(2, 1, 0) */