Fix the call to g_build_path in the test suite. Before it made some really

Sun, 13 Dec 2009 00:36:36 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Sun, 13 Dec 2009 00:36:36 +0000
changeset 29123
af5665098699
parent 29122
5eeaf94a95c6
child 29124
c23e6755cd91

Fix the call to g_build_path in the test suite. Before it made some really
strange set of directories for the settings dir. Now it's just 'home'.

libpurple/tests/check_libpurple.c file | annotate | diff | comparison | revisions
--- a/libpurple/tests/check_libpurple.c	Fri Dec 11 19:58:46 2009 +0000
+++ b/libpurple/tests/check_libpurple.c	Sun Dec 13 00:36:36 2009 +0000
@@ -44,7 +44,7 @@
 	purple_eventloop_set_ui_ops(&eventloop_ui_ops);
 
 	/* build our fake home directory */
-	home_dir = g_build_path(BUILDDIR, "libpurple", "tests", "home", NULL);
+	home_dir = g_build_path(G_DIR_SEPARATOR_S, BUILDDIR, "libpurple", "tests", "home", NULL);
 	purple_util_set_user_dir(home_dir);
 	g_free(home_dir);
 

mercurial