From eb4ce9620a604245fc03fe2f37823c3f00b7a0c2 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 2 Jul 2008 19:06:08 +0000 Subject: [PATCH] Use UNLOCK to unlock, not LOCK. 2008-07-02 Colin Walters * gio/gcontenttype.c: Use UNLOCK to unlock, not LOCK. svn path=/trunk/; revision=7146 --- ChangeLog | 4 ++++ gio/gcontenttype.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 87097e2..606f50e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-07-02 Colin Walters + + * gio/gcontenttype.c: Use UNLOCK to unlock, not LOCK. + 2008-07-02 Matthias Clasen * configure.in: Add a check for structfs.f_bavail diff --git a/gio/gcontenttype.c b/gio/gcontenttype.c index 3860a27..a6f3869 100644 --- a/gio/gcontenttype.c +++ b/gio/gcontenttype.c @@ -840,7 +840,7 @@ g_content_type_from_mime_type (const char *mime_type) G_LOCK (gio_xdgmime); /* mime type and content type are same on unixes */ umime = g_strdup (xdg_mime_unalias_mime_type (mime_type)); - G_LOCK (gio_xdgmime); + G_UNLOCK (gio_xdgmime); return umime; } -- 2.7.4