Use UNLOCK to unlock, not LOCK.

2008-07-02  Colin Walters  <walters@redhat.com>

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


svn path=/trunk/; revision=7146
This commit is contained in:
Colin Walters 2008-07-02 19:06:08 +00:00 committed by Colin Walters
parent d19e08a40c
commit eb4ce9620a
2 changed files with 5 additions and 1 deletions

View File

@ -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

View 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;
}