win32: fix build after bug 674452
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Tue, 3 Jul 2012 18:04:05 +0000 (20:04 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 4 Jul 2012 01:01:31 +0000 (21:01 -0400)
gio/gcontenttype.c

index dc48411..b91835e 100644 (file)
@@ -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)
     {