aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/alarm-notify/alarm-notify.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 1005c47ab0..11ea448a03 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-18 Rodrigo Moya <rodrigo@novell.com>
+
+ * gui/alarm-notify/alarm-notify.c (cal_opened_cb): if opening
+ the calendar failed, disconnect signals and unref it.
+
2005-02-18 Chenthill Palanisamy <pchenthill@novell.com>
* _EventPagePrivate: added a boolean variable is_meeting.
diff --git a/calendar/gui/alarm-notify/alarm-notify.c b/calendar/gui/alarm-notify/alarm-notify.c
index 3196599362..b2208eb77d 100644
--- a/calendar/gui/alarm-notify/alarm-notify.c
+++ b/calendar/gui/alarm-notify/alarm-notify.c
@@ -303,6 +303,9 @@ cal_opened_cb (ECal *client, ECalendarStatus status, gpointer user_data)
else {
g_hash_table_remove (priv->uri_client_hash[e_cal_get_source_type (client)],
e_cal_get_uri (client));
+ g_signal_handlers_disconnect_matched (G_OBJECT (client), G_SIGNAL_MATCH_DATA,
+ 0, 0, NULL, NULL, an);
+ g_object_unref (client);
}
}