X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6376cdc3a547095337c388a464f8e28b08d1e138..8ca1a013e4e699724040ff1f514dab3b4a11d3c9:/src/gtk/eggtrayicon.c diff --git a/src/gtk/eggtrayicon.c b/src/gtk/eggtrayicon.c index 4d244e0416..cd36bde116 100644 --- a/src/gtk/eggtrayicon.c +++ b/src/gtk/eggtrayicon.c @@ -135,7 +135,7 @@ egg_tray_icon_get_type (void) if (our_type == 0) { - static const GTypeInfo our_info = + const GTypeInfo our_info = { sizeof (EggTrayIconClass), (GBaseInitFunc) NULL, @@ -148,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,5 +438,5 @@ egg_tray_icon_cancel_message (EggTrayIcon *icon, id, 0, 0); } -#endif // __WXGTK20__ -#endif // GTK_CHECK_VERSION(2, 1, 0) +#endif /* __WXGTK20__ */ +#endif /* GTK_CHECK_VERSION(2, 1, 0) */