mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-02 19:59:21 +02:00
gioenumtypes: Push enum GTypes onto cleanup list
https://bugzilla.gnome.org/show_bug.cgi?id=711799
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user