summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-11-14 11:26:19 +0300
committermonsta <[email protected]>2017-11-16 00:38:27 +0300
commiteb94be26360b597c157b52a25a42e834655a8dc2 (patch)
tree7bc48f4771621a60da51ce87d3f483c0e6ae8873
parentcab29c45f111b96b347d0b6e3c2f5bc302a700f4 (diff)
downloadmate-panel-eb94be26360b597c157b52a25a42e834655a8dc2.tar.bz2
mate-panel-eb94be26360b597c157b52a25a42e834655a8dc2.tar.xz
clock: disconnect one more signal handler on destroy
-rw-r--r--applets/clock/clock.c3
1 files changed, 3 insertions, 0 deletions
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;