[glib/glib-2-30] GIOModule: Use G_SEARCHPATH_SEPARATOR_S instead of ":"



commit f4bba75f2f6a9609d28a1d2db44cec0230a45f15
Author: Kean Johnston <kean johnson gmail com>
Date:   Sat Oct 15 17:57:23 2011 -0400

    GIOModule: Use G_SEARCHPATH_SEPARATOR_S instead of ":"
    
    https://bugzilla.gnome.org/show_bug.cgi?id=661257

 gio/giomodule.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/giomodule.c b/gio/giomodule.c
index 2763a98..45d56fc 100644
--- a/gio/giomodule.c
+++ b/gio/giomodule.c
@@ -753,7 +753,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++)
 	    {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]