[evolution-patches] code cleanup on alarm-notify.c



This patch removes unused code in alarm-notify.c
? gui/alarm-notify/alarm-notify.gladep
? gui/dialogs/alarm-options.gladep
? gui/dialogs/alarm-page.gladep
? gui/dialogs/cal-prefs-dialog.gladep
? gui/dialogs/e-delegate-dialog.gladep
? gui/dialogs/event-page.gladep
? gui/dialogs/meeting-page.gladep
? gui/dialogs/recurrence-page.gladep
? gui/dialogs/schedule-page.gladep
? gui/dialogs/task-details-page.gladep
? gui/dialogs/task-page.gladep
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.1749
diff -u -p -r1.1749 ChangeLog
--- ChangeLog	26 Apr 2003 16:39:52 -0000	1.1749
+++ ChangeLog	28 Apr 2003 17:31:11 -0000
@@ -1,3 +1,8 @@
+2003-04-28  Rodrigo Moya <rodrigo ximian com>
+
+	* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed
+	unused code.
+
 2003-04-24  Rodrigo Moya <rodrigo ximian com>
 
 	Fixes #41661
Index: gui/alarm-notify/alarm-notify.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/alarm-notify/alarm-notify.c,v
retrieving revision 1.19
diff -u -p -r1.19 alarm-notify.c
--- gui/alarm-notify/alarm-notify.c	10 Mar 2003 11:53:36 -0000	1.19
+++ gui/alarm-notify/alarm-notify.c	28 Apr 2003 17:31:12 -0000
@@ -436,26 +436,8 @@ alarm_notify_add_calendar (AlarmNotify *
 	}
 
 	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 ();
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]