diff options
-rw-r--r-- | calendar/gui/dialogs/event-page.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index 17bc6d4d6f..9b70bf7ef0 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -904,7 +904,13 @@ event_page_dispose (GObject *object) priv->builder = NULL; } + if (priv->alarm_time_combo) { + g_signal_handlers_disconnect_matched (priv->alarm_time_combo, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, object); + } + if (priv->alarm_list_store != NULL) { + g_signal_handlers_disconnect_matched (priv->alarm_list_store, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, object); + g_object_unref (priv->alarm_list_store); priv->alarm_list_store = NULL; } |