if (our_type == 0)
{
- static const GTypeInfo our_info =
+ const GTypeInfo our_info =
{
sizeof (EggTrayIconClass),
(GBaseInitFunc) NULL,
(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;