pidgin: 024b0f33: Fix the call to g_build_path in the test...

qulogic at pidgin.im qulogic at pidgin.im
Sat Dec 12 22:35:47 EST 2009


-----------------------------------------------------------------
Revision: 024b0f33f4ce79af59a2779ed32aa68da6a62e05
Ancestor: a8e67ade069e5f4729d237329f0b3d3832b6d6ba
Author: qulogic at pidgin.im
Date: 2009-12-13T00:36:36
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/024b0f33f4ce79af59a2779ed32aa68da6a62e05

Modified files:
        libpurple/tests/check_libpurple.c

ChangeLog: 

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'.

-------------- next part --------------
============================================================
--- libpurple/tests/check_libpurple.c	8cef622b3081fdbb3eaba614035604c7b3bcc4d1
+++ libpurple/tests/check_libpurple.c	3ac00edf4b2631b0a3c41f4017a0afb19ce6bc40
@@ -44,7 +44,7 @@ purple_check_init(void) {
 	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);
 


More information about the Commits mailing list