summaryrefslogtreecommitdiff
path: root/gmodule
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2011-10-02 20:51:38 -0400
committerRyan Lortie <desrt@desrt.ca>2011-10-02 22:33:10 -0400
commit2a677d1370a1983c2c5e1a4a6dd5f0d9fa9868b3 (patch)
treef4b8f8d45ab71e6ac93f662a98ae5363bc4a8b6e /gmodule
parent3315aee70915deb12374ab1d6134e4414114bec3 (diff)
downloadglib-2a677d1370a1983c2c5e1a4a6dd5f0d9fa9868b3.tar.gz
locks: drop _INIT macros
All locks are now zero-initialised, so we can drop the G_*_INIT macros for them. Adjust various users around GLib accordingly and change the docs. https://bugzilla.gnome.org/show_bug.cgi?id=659866
Diffstat (limited to 'gmodule')
-rw-r--r--gmodule/gmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c
index c1a6486be..e4ef3eb36 100644
--- a/gmodule/gmodule.c
+++ b/gmodule/gmodule.c
@@ -326,7 +326,7 @@ _g_module_debug_init (void)
module_debug_initialized = TRUE;
}
-static GRecMutex g_module_global_lock = G_REC_MUTEX_INIT;
+static GRecMutex g_module_global_lock;
GModule*
g_module_open (const gchar *file_name,