]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/eggtrayicon.c
fix memory leak (coverity checker CID 53)
[wxWidgets.git] / src / gtk1 / eggtrayicon.c
index 10aed866ae9a10939b2b27cb3cbff82c321e3a72..fb6a78067ca56f9c3d11d180335c7b49ced7e0bf 100644 (file)
@@ -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;