gioenumtypes: Push enum GTypes onto cleanup list

https://bugzilla.gnome.org/show_bug.cgi?id=711799
This commit is contained in:
Stef Walter
2013-11-07 22:59:02 +01:00
parent f4bc304e5c
commit a95b8d5ebf

View File

@@ -29,6 +29,7 @@ GType
};
GType g_define_type_id =
g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
g_cleanup_push_type (G_CLEANUP_SCOPE, g_define_type_id);
g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
}