← Back to team overview

ayatana-commits team mailing list archive

[Branch ~indicator-applet-developers/indicator-applet/applet] Rev 341: Err, used wrong filename function.

 

------------------------------------------------------------
revno: 341
committer: Ted Gould <ted@xxxxxxxx>
branch nick: applet
timestamp: Wed 2010-01-20 08:19:27 -0600
message:
  Err, used wrong filename function.
modified:
  src/applet-main.c


--
lp:indicator-applet
https://code.launchpad.net/~indicator-applet-developers/indicator-applet/applet

Your team ayatana-commits is subscribed to branch lp:indicator-applet.
To unsubscribe from this branch go to https://code.launchpad.net/~indicator-applet-developers/indicator-applet/applet/+edit-subscription.
=== modified file 'src/applet-main.c'
--- src/applet-main.c	2010-01-20 04:43:44 +0000
+++ src/applet-main.c	2010-01-20 14:19:27 +0000
@@ -405,7 +405,7 @@
 {
 	if (log_file == NULL) {
 		GError * error = NULL;
-		gchar * filename = g_build_path(g_get_user_cache_dir(), LOG_FILE_NAME, NULL);
+		gchar * filename = g_build_filename(g_get_user_cache_dir(), LOG_FILE_NAME, NULL);
 		GFile * file = g_file_new_for_path(filename);
 		g_free(filename);