diff options
author | monsta <[email protected]> | 2017-11-14 11:26:19 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-11-16 00:38:27 +0300 |
commit | eb94be26360b597c157b52a25a42e834655a8dc2 (patch) | |
tree | 7bc48f4771621a60da51ce87d3f483c0e6ae8873 | |
parent | cab29c45f111b96b347d0b6e3c2f5bc302a700f4 (diff) | |
download | mate-panel-eb94be26360b597c157b52a25a42e834655a8dc2.tar.bz2 mate-panel-eb94be26360b597c157b52a25a42e834655a8dc2.tar.xz |
clock: disconnect one more signal handler on destroy
-rw-r--r-- | applets/clock/clock.c | 3 |
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; |