summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-11-14 11:26:19 +0300
committermonsta <[email protected]>2017-11-14 11:26:19 +0300
commitf751ec74a3184fd60061ecff1bfc9992605f57b4 (patch)
tree63ad6aa119b335f058718aa5c423dc4562757e04
parent78d0e5f89c82c42448a1294d32fdd98227caec50 (diff)
downloadmate-panel-f751ec74a3184fd60061ecff1bfc9992605f57b4.tar.bz2
mate-panel-f751ec74a3184fd60061ecff1bfc9992605f57b4.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 75a01a50..622e3adf 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;