]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/eggtrayicon.c
Don't show anything in the cells which should be empty in Cocoa wxDVC.
[wxWidgets.git] / src / gtk1 / eggtrayicon.c
index 10aed866ae9a10939b2b27cb3cbff82c321e3a72..cd36bde116886606462a849448eef3966f5186bc 100644 (file)
@@ -135,7 +135,7 @@ egg_tray_icon_get_type (void)
 
   if (our_type == 0)
     {
 
   if (our_type == 0)
     {
-      static const GTypeInfo our_info =
+      const GTypeInfo our_info =
       {
        sizeof (EggTrayIconClass),
        (GBaseInitFunc) NULL,
       {
        sizeof (EggTrayIconClass),
        (GBaseInitFunc) NULL,
@@ -148,7 +148,8 @@ egg_tray_icon_get_type (void)
        (GInstanceInitFunc) egg_tray_icon_init
       };
 
        (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;
     }
 
   return our_type;