diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-04-30 19:12:28 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-04-30 19:12:28 +0800 |
commit | 3413f52a3d33e1e5768a83c964ba9a55907f2c3b (patch) | |
tree | 2a5381e3dc54de2ad01a21d23768e20198dc4caf | |
parent | c996cd6450c0b37d5b4c16bc76ed9095c2c95e61 (diff) | |
download | gsoc2013-evolution-3413f52a3d33e1e5768a83c964ba9a55907f2c3b.tar.gz gsoc2013-evolution-3413f52a3d33e1e5768a83c964ba9a55907f2c3b.tar.zst gsoc2013-evolution-3413f52a3d33e1e5768a83c964ba9a55907f2c3b.zip |
removed unused code.
2003-04-30 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed
unused code.
svn path=/trunk/; revision=21032
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/alarm-notify/alarm-notify.c | 18 |
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 (); |