From 3413f52a3d33e1e5768a83c964ba9a55907f2c3b Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Wed, 30 Apr 2003 11:12:28 +0000 Subject: removed unused code. 2003-04-30 Rodrigo Moya * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed unused code. svn path=/trunk/; revision=21032 --- calendar/ChangeLog | 5 +++++ calendar/gui/alarm-notify/alarm-notify.c | 18 ------------------ 2 files changed, 5 insertions(+), 18 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 2af18d21f4..514a0fd94a 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2003-04-30 Rodrigo Moya + + * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed + unused code. + 2003-04-29 JP Rosevear * gui/dialogs/task-editor.c (task_editor_finalize): ditto diff --git a/calendar/gui/alarm-notify/alarm-notify.c b/calendar/gui/alarm-notify/alarm-notify.c index fb1491bea9..20ba5547f1 100644 --- a/calendar/gui/alarm-notify/alarm-notify.c +++ b/calendar/gui/alarm-notify/alarm-notify.c @@ -436,26 +436,8 @@ alarm_notify_add_calendar (AlarmNotify *an, const char *str_uri, gboolean load_a } if (g_hash_table_lookup_extended (priv->uri_client_hash, str_uri, &s_ptr, &lc_ptr)) { - char *s; - lc = lc_ptr; - s = s_ptr; - lc->refcount++; - - /*g_hash_table_remove (priv->uri_client_hash, str_uri); - - g_signal_handlers_disconnect_matched (G_OBJECT (lc->client), - G_SIGNAL_MATCH_DATA, - 0, 0, NULL, NULL, lc); - if (lc->timeout_id != -1) - g_source_remove (lc->timeout_id); - alarm_queue_remove_client (lc->client); - g_object_unref (G_OBJECT (lc->client)); - e_uri_free (lc->uri); - - g_free (lc); - g_free (s);*/ } else { client = cal_client_new (); -- cgit