projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d7fa1c
)
win32: fix build after bug 674452
author
Marc-André Lureau
<marcandre.lureau@gmail.com>
Tue, 3 Jul 2012 18:04:05 +0000
(20:04 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 4 Jul 2012 01:01:31 +0000
(21:01 -0400)
gio/gcontenttype.c
patch
|
blob
|
history
diff --git
a/gio/gcontenttype.c
b/gio/gcontenttype.c
index
dc48411
..
b91835e
100644
(file)
--- 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)
{