X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02a525b385836d41f63e3bbebec869c7b8249026..5fdb6350921035ace3d9619bd2d36f776d0653ef:/src/gtk1/eggtrayicon.c diff --git a/src/gtk1/eggtrayicon.c b/src/gtk1/eggtrayicon.c index 10aed866ae..cd36bde116 100644 --- a/src/gtk1/eggtrayicon.c +++ b/src/gtk1/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;