summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-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 b893b738..d5314ed4 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -750,6 +750,9 @@ static void
destroy_clock (GtkWidget * widget, ClockData *cd)
{
if (cd->settings)
+ g_signal_handlers_disconnect_by_data( cd->settings, cd);
+
+ if (cd->settings)
g_object_unref (cd->settings);
cd->settings = NULL;