mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01:00
Fix deprecation note for g_static_mutex_free
It should point at g_mutex_clear, not g_mutex_free. https://bugzilla.gnome.org/show_bug.cgi?id=678223
This commit is contained in:
parent
d632713a77
commit
abbb54cdd6
@ -590,7 +590,7 @@ g_static_mutex_get_mutex_impl (GStaticMutex* mutex)
|
|||||||
* <note><para>Calling g_static_mutex_free() on a locked mutex may
|
* <note><para>Calling g_static_mutex_free() on a locked mutex may
|
||||||
* result in undefined behaviour.</para></note>
|
* result in undefined behaviour.</para></note>
|
||||||
*
|
*
|
||||||
* Deprecated: 2.32: Use g_mutex_free()
|
* Deprecated: 2.32: Use g_mutex_clear()
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
g_static_mutex_free (GStaticMutex* mutex)
|
g_static_mutex_free (GStaticMutex* mutex)
|
||||||
|
@ -143,7 +143,7 @@ typedef struct
|
|||||||
|
|
||||||
GLIB_DEPRECATED_IN_2_32_FOR(g_mutex_init)
|
GLIB_DEPRECATED_IN_2_32_FOR(g_mutex_init)
|
||||||
void g_static_mutex_init (GStaticMutex *mutex);
|
void g_static_mutex_init (GStaticMutex *mutex);
|
||||||
GLIB_DEPRECATED_IN_2_32_FOR(g_mutex_free)
|
GLIB_DEPRECATED_IN_2_32_FOR(g_mutex_clear)
|
||||||
void g_static_mutex_free (GStaticMutex *mutex);
|
void g_static_mutex_free (GStaticMutex *mutex);
|
||||||
GLIB_DEPRECATED_IN_2_32_FOR(GMutex)
|
GLIB_DEPRECATED_IN_2_32_FOR(GMutex)
|
||||||
GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
|
GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
|
||||||
|
Loading…
Reference in New Issue
Block a user