changeset 3102:6520d2c15c6f

gio: do not register file:// twice by filtering it from the list
author William Pitcock <nenolod@atheme.org>
date Thu, 30 Apr 2009 09:45:04 -0500
parents bc642b05827b
children b562bc52a93e
files src/gio/gio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gio/gio.c	Thu Apr 30 09:36:17 2009 -0500
+++ b/src/gio/gio.c	Thu Apr 30 09:45:04 2009 -0500
@@ -327,7 +327,7 @@
 
     for (i = 0; schemes[i] != NULL; i++) {
          VFSConstructor *c;
-         if (!g_ascii_strcasecmp(schemes[i], "http"))
+         if (!g_ascii_strcasecmp(schemes[i], "http") || !g_ascii_strcasecmp(schemes[i], "file"))
              continue;
 
          g_print("GVfs supports %s - registering it\n", schemes[i]);