[glib/wip/gcleanup: 79/106] gioenumtypes: Push enum GTypes onto cleanup list



commit 4efc9059e115a45c3cf6eb3f011bcb0381d926d6
Author: Stef Walter <stefw gnome org>
Date:   Thu Nov 7 22:59:02 2013 +0100

    gioenumtypes: Push enum GTypes onto cleanup list
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711799

 gio/gioenumtypes.c.template |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/gioenumtypes.c.template b/gio/gioenumtypes.c.template
index e9adc4a..c028f93 100644
--- a/gio/gioenumtypes.c.template
+++ b/gio/gioenumtypes.c.template
@@ -29,6 +29,7 @@ GType
       };
       GType g_define_type_id =
         g_ type@_register_static (g_intern_static_string ("@EnumName@"), values);
+      g_type_cleanup_push (g_define_type_id, G_CLEANUP_SCOPE);
       g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]