[glib/glib-2-32] win32: fix build after bug 674452
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-32] win32: fix build after bug 674452
- Date: Wed, 22 Aug 2012 14:10:26 +0000 (UTC)
commit 3d8307d042ac93400953c0163c98f6fa5f74ca92
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Tue Jul 3 20:04:05 2012 +0200
win32: fix build after bug 674452
gio/gcontenttype.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gcontenttype.c b/gio/gcontenttype.c
index dc48411..b91835e 100644
--- a/gio/gcontenttype.c
+++ b/gio/gcontenttype.c
@@ -332,7 +332,7 @@ g_content_type_guess (const gchar *filename,
/* our test suite and potentially other code used -1 in the past, which is
* not documented and not allowed; guard against that */
- g_return_val_if_fail (data_size != (gsize) -1, g_strdup (XDG_MIME_TYPE_UNKNOWN));
+ g_return_val_if_fail (data_size != (gsize) -1, g_strdup ("*"));
if (filename)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]