Do not use static GTypeInfo and GInterfaceInfo
[platform/upstream/glib.git] / docs / reference / gobject / tut_howto.xml
index 1534838..9d592b8 100644 (file)
@@ -877,7 +877,7 @@ maman_ibaz_get_type (void)
   static GType iface_type = 0;
   if (iface_type == 0)
     {
-      static const GTypeInfo info = {
+      const GTypeInfo info = {
         sizeof (MamanIbazInterface),
         maman_ibaz_base_init,   /* base_init */
         NULL,   /* base_finalize */