Set result_uncertain in win32 g_content_type_guess implementation
authorAlexander Larsson <alexl@redhat.com>
Mon, 15 Feb 2010 09:13:10 +0000 (10:13 +0100)
committerAlexander Larsson <alexl@redhat.com>
Mon, 15 Feb 2010 09:13:10 +0000 (10:13 +0100)
Fixes bug #609143

gio/gcontenttype.c

index 51f6653..925b0a4 100644 (file)
@@ -327,6 +327,9 @@ g_content_type_guess (const char   *filename,
 
   type = NULL;
 
+  if (result_uncertain)
+    *result_uncertain = FALSE;
+
   if (filename)
     {
       basename = g_path_get_basename (filename);