summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2485a51)
raw | patch | inline | side by side (parent: 2485a51)
author | pjrm <pjrm@users.sourceforge.net> | |
Tue, 29 Jul 2008 03:08:57 +0000 (03:08 +0000) | ||
committer | pjrm <pjrm@users.sourceforge.net> | |
Tue, 29 Jul 2008 03:08:57 +0000 (03:08 +0000) |
src/widgets/toolbox.cpp | patch | blob | history |
index f5a213dc9c1e75bf6fed27fe09ce6b7aa2720b99..53911e519b4d861e30375e70c0566528b10e3d40 100644 (file)
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -3799,9 +3799,9 @@ static void sp_tweak_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainAction
//########################
//## Calligraphy ##
//########################
-static void update_presets_list (GObject *tbl)
+static void update_presets_list (GObject *tbl)
{
- if (g_object_get_data(tbl, "presets_blocked"))
+ if (g_object_get_data(tbl, "presets_blocked"))
return;
EgeSelectOneAction *sel = static_cast<EgeSelectOneAction *>(g_object_get_data(tbl, "profile_selector"));
new_index = total_prefs + 1;
gchar *profile_id = g_strdup_printf("dcc%d", new_index);
pref_path = create_pref("tools.calligraphic.preset", profile_id);
- free(profile_id);
+ g_free(profile_id);
}
for (unsigned i = 0; i < NUMBER_OF_PRESET_PARAMS; ++i) {
sp_dcc_build_presets_list (tbl);
- free (pref_path);
+ g_free(pref_path);
}