[glib] GIOModule: Use G_SEARCHPATH_SEPARATOR_S instead of ":"



commit 33a86fce6a157ec7a69fe21a157b27748cb286eb
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 c7a0020..fa8aea2 100644
--- a/gio/giomodule.c
+++ b/gio/giomodule.c
@@ -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++)
 	    {



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