GIOModule: Use G_SEARCHPATH_SEPARATOR_S instead of ":"
authorKean Johnston <kean.johnson@gmail.com>
Sat, 15 Oct 2011 21:57:23 +0000 (17:57 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 15 Oct 2011 21:58:39 +0000 (17:58 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=661257

gio/giomodule.c

index c7a0020..fa8aea2 100644 (file)
@@ -880,7 +880,7 @@ _g_io_modules_ensure_loaded (void)
          gchar **paths;
          int i;
 
-         paths = g_strsplit (module_path, ":", 0);
+         paths = g_strsplit (module_path, G_SEARCHPATH_SEPARATOR_S, 0);
 
          for (i = 0; paths[i] != NULL; i++)
            {