diff options
author | monsta <[email protected]> | 2017-11-14 11:26:19 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-11-14 11:26:19 +0300 |
commit | f751ec74a3184fd60061ecff1bfc9992605f57b4 (patch) | |
tree | 63ad6aa119b335f058718aa5c423dc4562757e04 /applets | |
parent | 78d0e5f89c82c42448a1294d32fdd98227caec50 (diff) | |
download | mate-panel-f751ec74a3184fd60061ecff1bfc9992605f57b4.tar.bz2 mate-panel-f751ec74a3184fd60061ecff1bfc9992605f57b4.tar.xz |
clock: disconnect one more signal handler on destroy
Diffstat (limited to 'applets')
-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 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; |