diff plugins/gaimrc.c @ 11862:f8cd06753755

[gaim-migrate @ 14153] Make "make distcheck" work, which also makes the perl plugin loader loadable when installed to a non-standard prefix (it still can't find Gaim.pm though) Add some extra warning CFLAGS if a) --enable-debug was used and b) your compiler supports them. Plug a couple of leaks The gaimrc plugin's GtkTreeView expander_size setting now works (but doesn't seem to instant-apply - should it?) staticify some functions that don't need to be exposed probably something else I forgot about committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 27 Oct 2005 20:43:43 +0000
parents 364a2ef907ae
children 8dc2e512038f
line wrap: on
line diff
--- a/plugins/gaimrc.c	Thu Oct 27 20:22:27 2005 +0000
+++ b/plugins/gaimrc.c	Thu Oct 27 20:43:43 2005 +0000
@@ -110,7 +110,7 @@
 		if (gaim_prefs_get_bool(widget_size_prefs_set[i])) {
 			prefbase = g_path_get_basename(widget_size_prefs[i]);
 			g_string_append_printf(style_string,
-			                       "%s = \"%d\"\n", prefbase,
+			                       "%s = %d\n", prefbase,
 			                       gaim_prefs_get_int(widget_size_prefs[i]));
 			g_free(prefbase);
 		}
@@ -166,6 +166,7 @@
 		if (value)
 			gaimrc_make_changes();
 		g_string_free(style_string, TRUE);
+		g_free(prefbase);
 
 		return;
 	} else {