comparison 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
comparison
equal deleted inserted replaced
11861:83e2fa10df1c 11862:f8cd06753755
108 108
109 for (i = 0; i < G_N_ELEMENTS(widget_size_prefs); i++) { 109 for (i = 0; i < G_N_ELEMENTS(widget_size_prefs); i++) {
110 if (gaim_prefs_get_bool(widget_size_prefs_set[i])) { 110 if (gaim_prefs_get_bool(widget_size_prefs_set[i])) {
111 prefbase = g_path_get_basename(widget_size_prefs[i]); 111 prefbase = g_path_get_basename(widget_size_prefs[i]);
112 g_string_append_printf(style_string, 112 g_string_append_printf(style_string,
113 "%s = \"%d\"\n", prefbase, 113 "%s = %d\n", prefbase,
114 gaim_prefs_get_int(widget_size_prefs[i])); 114 gaim_prefs_get_int(widget_size_prefs[i]));
115 g_free(prefbase); 115 g_free(prefbase);
116 } 116 }
117 } 117 }
118 118
164 prefbase, (char *)value, prefbase, prefbase); 164 prefbase, (char *)value, prefbase, prefbase);
165 } else if (strncmp(name, "/plugins/gtk/gaimrc/set", 23) == 0) { 165 } else if (strncmp(name, "/plugins/gtk/gaimrc/set", 23) == 0) {
166 if (value) 166 if (value)
167 gaimrc_make_changes(); 167 gaimrc_make_changes();
168 g_string_free(style_string, TRUE); 168 g_string_free(style_string, TRUE);
169 g_free(prefbase);
169 170
170 return; 171 return;
171 } else { 172 } else {
172 g_string_printf(style_string, "%s = \"%s\"", 173 g_string_printf(style_string, "%s = \"%s\"",
173 prefbase, (char *)value); 174 prefbase, (char *)value);