diff options
Diffstat (limited to 'capplets')
-rw-r--r-- | capplets/appearance/appearance-style.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capplets/appearance/appearance-style.c b/capplets/appearance/appearance-style.c index 5ccb0d87..aacde4ba 100644 --- a/capplets/appearance/appearance-style.c +++ b/capplets/appearance/appearance-style.c @@ -1013,9 +1013,9 @@ prepare_list (AppearanceData *data, GtkWidget *list, ThemeType type, GCallback c conv_data->thumbnail = thumbnail; /* set useful data for callbacks */ - g_object_set_data (G_OBJECT (list), THEME_DATA, conv_data); + g_object_set_data_full (G_OBJECT (list), THEME_DATA, conv_data, g_free); g_object_set_data (G_OBJECT (list), GSETTINGS_SETTINGS, settings); - g_object_set_data (G_OBJECT (list), GSETTINGS_KEY, g_strdup(key)); + g_object_set_data_full (G_OBJECT (list), GSETTINGS_KEY, g_strdup(key), g_free); /* select in treeview the theme set in gsettings */ GtkTreeModel *treemodel; |