[glib] Set result_uncertain in win32 g_content_type_guess implementation
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glib] Set result_uncertain in win32 g_content_type_guess implementation
- Date: Mon, 15 Feb 2010 09:14:00 +0000 (UTC)
commit b37da7134b127e6c92e7002150077515dc7d42b4
Author: Alexander Larsson <alexl redhat com>
Date: Mon Feb 15 10:13:10 2010 +0100
Set result_uncertain in win32 g_content_type_guess implementation
Fixes bug #609143
gio/gcontenttype.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gio/gcontenttype.c b/gio/gcontenttype.c
index 51f6653..925b0a4 100644
--- a/gio/gcontenttype.c
+++ b/gio/gcontenttype.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]