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:
Matthias Clasen 2013-02-03 01:28:50 -05:00
parent d632713a77
commit abbb54cdd6
2 changed files with 2 additions and 2 deletions

View File

@ -590,7 +590,7 @@ g_static_mutex_get_mutex_impl (GStaticMutex* mutex)
* <note><para>Calling g_static_mutex_free() on a locked mutex may
* result in undefined behaviour.</para></note>
*
* Deprecated: 2.32: Use g_mutex_free()
* Deprecated: 2.32: Use g_mutex_clear()
*/
void
g_static_mutex_free (GStaticMutex* mutex)

View File

@ -143,7 +143,7 @@ typedef struct
GLIB_DEPRECATED_IN_2_32_FOR(g_mutex_init)
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);
GLIB_DEPRECATED_IN_2_32_FOR(GMutex)
GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);