--- glib-2.32.4/gio/gcontenttype.c.orig 2012-07-14 22:33:18.000000000 +0200 +++ glib-2.32.4/gio/gcontenttype.c 2012-07-24 16:48:52.400116342 +0200 @@ -332,7 +332,7 @@ /* 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) {