Add g_type_ensure() and use it rather than playing games with volatile

https://bugzilla.gnome.org/show_bug.cgi?id=605976
This commit is contained in:
Dan Winship
2010-01-03 14:47:56 -05:00
parent 2a4235d0f3
commit e011d2c921
12 changed files with 72 additions and 55 deletions

View File

@@ -98,6 +98,7 @@ g_type_add_interface_check
g_type_remove_interface_check
GTypeInterfaceCheckFunc
g_type_value_table_peek
g_type_ensure
G_DEFINE_TYPE
G_DEFINE_TYPE_WITH_CODE