summaryrefslogtreecommitdiff
path: root/capplets/appearance
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2017-01-12 17:44:49 +0100
committermonsta <[email protected]>2017-01-27 10:58:05 +0300
commitd255df8819e1b2efcee996af33da8a66ed7d2b83 (patch)
tree1c058ce3e2e1aa97491e54cba1a8d8b13c2972fd /capplets/appearance
parentc94cbb105c96f8d35f7cbc28477d2f533fbc064d (diff)
downloadmate-control-center-d255df8819e1b2efcee996af33da8a66ed7d2b83.tar.bz2
mate-control-center-d255df8819e1b2efcee996af33da8a66ed7d2b83.tar.xz
Fix live updating of the various theme details
This got broken in b3e27b1d6a0f11c5835f5829bac3861e2147b17e, which ported to GSettings but stopped calling the supplied callback. 070e7cb765a788c8e27ff3615d3ed36981d3518d restored the initial update, but not the live ones. Fixes #256.
Diffstat (limited to 'capplets/appearance')
-rw-r--r--capplets/appearance/appearance-style.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/capplets/appearance/appearance-style.c b/capplets/appearance/appearance-style.c
index fbc090ed..5ccb0d87 100644
--- a/capplets/appearance/appearance-style.c
+++ b/capplets/appearance/appearance-style.c
@@ -1038,6 +1038,7 @@ prepare_list (AppearanceData *data, GtkWidget *list, ThemeType type, GCallback c
gchar *signal_name = g_strdup_printf("changed::%s", key);
g_signal_connect (settings, signal_name,
G_CALLBACK (treeview_gsettings_changed_callback), list);
+ g_signal_connect (settings, signal_name, callback, data);
g_free (signal_name);
/* connect to treeview change event */