From 2e71c861438a25ceac5811d9d3aa528691e71410 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 5 Jun 2014 11:47:13 +0200 Subject: Properly disconnect signal handlers added with e_signal_connect_notify*() This is a follow-up for the previous commit, where e_signal_connect_notify*() functions had been added. Due to a different callback and user data being attached to the 'notify' signal, the g_signal_handlers_*() functions do not work properly, thus these e_signal_connect_notify*() functions need a different way for a signal handler disconnect. A side-change was done in e-settings-web-view-gtkhtml.c, checking for a real key change from GSettings. --- e-util/e-activity-proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'e-util/e-activity-proxy.c') diff --git a/e-util/e-activity-proxy.c b/e-util/e-activity-proxy.c index bb21a5bc8a..f3a452b5af 100644 --- a/e-util/e-activity-proxy.c +++ b/e-util/e-activity-proxy.c @@ -362,7 +362,7 @@ e_activity_proxy_set_activity (EActivityProxy *proxy, G_OBJECT (activity), (GWeakNotify) activity_proxy_weak_notify_cb, proxy); - e_signal_connect_notify_swapped ( + g_signal_connect_swapped ( activity, "notify::state", G_CALLBACK (activity_proxy_feedback), proxy); -- cgit v1.2.3