From 6458798c9ee00bcbb62e40c73075d831544f2839 Mon Sep 17 00:00:00 2001 From: Perberos Date: Mon, 23 Jan 2012 11:45:30 -0300 Subject: missing NULL on g_build_filename function --- stickynotes/stickynotes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stickynotes/stickynotes.c') 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 { -- cgit v1.2.1