Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2868
diff -u -p -r1.2868 ChangeLog
--- ChangeLog	14 Dec 2005 14:58:38 -0000	1.2868
+++ ChangeLog	14 Dec 2005 19:47:24 -0000
@@ -1,4 +1,11 @@
+2005-12-15  Chenthill Palanisamy  <pchenthill@novell.com>
+
+	Fixes #324058
+	* gui/dialogs/comp-editor.c: (real_send_comp): Removed
+	the obsolete code which caused the crash.
+	
 2005-12-09  Johnny Jacob <johnnyjacob@gmail.com>
+
 	* gui/dialogs/event-page.c : 
 	(hour_sel_changed) : Added. Event handler for hour_selector
 	(minute_sel_changed) : Added. Event handler for minute_selector
Index: gui/dialogs/comp-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/comp-editor.c,v
retrieving revision 1.156
diff -u -p -r1.156 comp-editor.c
--- gui/dialogs/comp-editor.c	8 Dec 2005 21:16:53 -0000	1.156
+++ gui/dialogs/comp-editor.c	14 Dec 2005 19:47:34 -0000
@@ -2371,7 +2371,7 @@ static gboolean
 real_send_comp (CompEditor *editor, ECalComponentItipMethod method)
 {
 	CompEditorPrivate *priv;
-	ECalComponent *tmp_comp, *send_comp;
+	ECalComponent *send_comp;
 	char *address = NULL;
 	
 	g_return_val_if_fail (editor != NULL, FALSE);
@@ -2391,15 +2391,6 @@ real_send_comp (CompEditor *editor, ECal
 	if (!e_cal_component_has_attachments (priv->comp)) {
 		if (itip_send_comp (method, send_comp, priv->client,
 					NULL, NULL)) {
-#if 0
-			tmp_comp = priv->comp;
-			g_object_ref (tmp_comp);
-			comp_editor_edit_comp (editor, tmp_comp);
-			g_object_unref (tmp_comp);
-			
-			comp_editor_set_changed (editor, TRUE);
-#endif
-			save_comp (editor);
 			g_object_unref (send_comp);
 			return TRUE;
 		}
@@ -2421,12 +2412,6 @@ real_send_comp (CompEditor *editor, ECal
 		mime_attach_list = comp_editor_get_mime_attach_list (editor);
 		if (itip_send_comp (method, send_comp, priv->client,
 					NULL, mime_attach_list)) {
-			tmp_comp = priv->comp;
-			g_object_ref (tmp_comp);
-			comp_editor_edit_comp (editor, tmp_comp);
-			g_object_unref (tmp_comp);
-			
-			comp_editor_set_changed (editor, TRUE);
 			save_comp (editor);
 			g_object_unref (send_comp);
 			return TRUE;
