From eb94be26360b597c157b52a25a42e834655a8dc2 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 14 Nov 2017 11:26:19 +0300 Subject: clock: disconnect one more signal handler on destroy --- applets/clock/clock.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'applets/clock') diff --git a/applets/clock/clock.c b/applets/clock/clock.c index d5314ed4..35116ed9 100644 --- a/applets/clock/clock.c +++ b/applets/clock/clock.c @@ -752,6 +752,9 @@ destroy_clock (GtkWidget * widget, ClockData *cd) if (cd->settings) g_signal_handlers_disconnect_by_data( cd->settings, cd); + if (cd->systz) + g_signal_handlers_disconnect_by_data( cd->systz, cd); + if (cd->settings) g_object_unref (cd->settings); cd->settings = NULL; -- cgit v1.2.1