diff options
author | Perberos <[email protected]> | 2012-01-23 11:45:30 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2012-01-23 11:45:30 -0300 |
commit | 6458798c9ee00bcbb62e40c73075d831544f2839 (patch) | |
tree | 6a63f51fc6b040b6686a04bdbff950d0da564174 /stickynotes/stickynotes.c | |
parent | e0535a809a7ab79a7dd6287718564ccbe6ed8163 (diff) | |
download | mate-applets-6458798c9ee00bcbb62e40c73075d831544f2839.tar.bz2 mate-applets-6458798c9ee00bcbb62e40c73075d831544f2839.tar.xz |
missing NULL on g_build_filename function
Diffstat (limited to 'stickynotes/stickynotes.c')
-rw-r--r-- | stickynotes/stickynotes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stickynotes/stickynotes.c b/stickynotes/stickynotes.c index 880a1933..fc273943 100644 --- a/stickynotes/stickynotes.c +++ b/stickynotes/stickynotes.c @@ -840,13 +840,13 @@ stickynotes_save_now (void) } /* The XML file is $HOME/.config/mate/stickynotes_applet, most probably */ - //{ + { gchar* file = g_build_filename(g_get_home_dir(), ".config", "mate", "stickynotes-applet.xml", NULL); xmlSaveFormatFile(file, doc, 1); g_free(file); - //} + } xmlFreeDoc(doc); @@ -884,7 +884,7 @@ stickynotes_load (GdkScreen *screen) if (g_file_test(file, G_FILE_TEST_EXISTS)) { /* load file */ - doc = xmlParseFile(file); + doc = xmlParseFile(file); } else { |