Use UNLOCK to unlock, not LOCK.
authorColin Walters <walters@redhat.com>
Wed, 2 Jul 2008 19:06:08 +0000 (19:06 +0000)
committerColin Walters <walters@src.gnome.org>
Wed, 2 Jul 2008 19:06:08 +0000 (19:06 +0000)
2008-07-02  Colin Walters  <walters@redhat.com>

* gio/gcontenttype.c: Use UNLOCK to unlock, not LOCK.

svn path=/trunk/; revision=7146

ChangeLog
gio/gcontenttype.c

index 87097e2..606f50e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-02  Colin Walters  <walters@redhat.com>
+
+       * gio/gcontenttype.c: Use UNLOCK to unlock, not LOCK.
+
 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
 
        * configure.in: Add a check for structfs.f_bavail
index 3860a27..a6f3869 100644 (file)
@@ -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;
 }