summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
Diffstat (limited to 'capplets')
-rw-r--r--capplets/appearance/appearance-style.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capplets/appearance/appearance-style.c b/capplets/appearance/appearance-style.c
index 8b7bd80e..afd892b6 100644
--- a/capplets/appearance/appearance-style.c
+++ b/capplets/appearance/appearance-style.c
@@ -955,9 +955,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;