From d255df8819e1b2efcee996af33da8a66ed7d2b83 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Thu, 12 Jan 2017 17:44:49 +0100 Subject: 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. --- capplets/appearance/appearance-style.c | 1 + 1 file changed, 1 insertion(+) (limited to 'capplets') 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 */ -- cgit v1.2.1