mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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
This commit is contained in:
@@ -110,7 +110,7 @@ test_g_static_rec_mutex (void)
|
||||
|
||||
static GStaticPrivate test_g_static_private_private1 = G_STATIC_PRIVATE_INIT;
|
||||
static GStaticPrivate test_g_static_private_private2 = G_STATIC_PRIVATE_INIT;
|
||||
static GMutex test_g_static_private_mutex = G_MUTEX_INIT;
|
||||
static GMutex test_g_static_private_mutex;
|
||||
static guint test_g_static_private_counter = 0;
|
||||
static guint test_g_static_private_ready = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user