summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2017-01-12 17:44:49 +0100
committermonsta <[email protected]>2017-01-27 11:49:36 +0400
commit1a2b8e9f6b96cb2d6b768e901a126ff770b4b8bf (patch)
treeec278e0802a54e642e0f7de21575645bf3cc541b /capplets
parentee4d581644bb3d9f48fe09705c5c48abc8b954c0 (diff)
downloadmate-control-center-1a2b8e9f6b96cb2d6b768e901a126ff770b4b8bf.tar.bz2
mate-control-center-1a2b8e9f6b96cb2d6b768e901a126ff770b4b8bf.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')
-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 e71e4f83..8b7bd80e 100644
--- a/capplets/appearance/appearance-style.c
+++ b/capplets/appearance/appearance-style.c
@@ -980,6 +980,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 */