diff options
author | Milan Crha <mcrha@redhat.com> | 2014-05-23 20:51:05 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-05-23 20:51:05 +0800 |
commit | 8c7d7ac744ee3f6b5767f92fd941399693285078 (patch) | |
tree | 32488faf8334de725c12d6ab66a19cca7c65080e | |
parent | 6ca33faf71279ec36bc00d95fe6b2907de38c97b (diff) | |
download | gsoc2013-evolution-8c7d7ac744ee3f6b5767f92fd941399693285078.tar gsoc2013-evolution-8c7d7ac744ee3f6b5767f92fd941399693285078.tar.gz gsoc2013-evolution-8c7d7ac744ee3f6b5767f92fd941399693285078.tar.bz2 gsoc2013-evolution-8c7d7ac744ee3f6b5767f92fd941399693285078.tar.lz gsoc2013-evolution-8c7d7ac744ee3f6b5767f92fd941399693285078.tar.xz gsoc2013-evolution-8c7d7ac744ee3f6b5767f92fd941399693285078.tar.zst gsoc2013-evolution-8c7d7ac744ee3f6b5767f92fd941399693285078.zip |
Runtime criticals when closing an appointment editor with reminders
There were printed two runtime warnings on close of an appointment
editor when the appointment had filled any reminder. It was a side
effect of a recent leak fix in an EAlarmList. The criticals were not
critical, a NULL pointer had been used on a place where it should not.
-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; } |