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.c18
2 files changed, 5 insertions, 18 deletions
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 <rodrigo@ximian.com>
+
+ * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed
+ unused code.
+
2003-04-29 JP Rosevear <jpr@ximian.com>
* 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 ();