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



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

    gioenumtypes: Push enum GTypes onto cleanup list

 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..2e8223d 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_CLEANUP_LIST, g_define_type_id);
       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]