From 6229cd14f15ac6b3ba82ea5110ced18cc96bde1e Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 27 Jul 2001 01:00:33 +0000 Subject: free a list of attendees (meeting_page_fill_widgets): clean up attendee 2001-07-26 JP Rosevear * gui/dialogs/meeting-page.c (cleanup_attendees): free a list of attendees (meeting_page_fill_widgets): clean up attendee lists and fix typo (find_match): add ability to return pos of match (popup_delete_cb): if deletion happens, make sure to tidy up delegation chain * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct): use the destination rather than text property (e_delegate_dialog_get_delegate): ditto (e_delegate_dialog_new): take name/address pair for dialog default * gui/dialogs/e-delegate-dialog.h: update protos * gui/e-itip-control.c (clean_up): only unref the object if we have one * gui/itip-control-factory.c (stream_read): make sure we null terminate the final buffer * gui/itip-utils.c (itip_send_comp): strip the mailto: from the organizer address if necessary svn path=/trunk/; revision=11440 --- calendar/gui/e-itip-control.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui/e-itip-control.c') diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 4cd270a3b1..c22c0a643f 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -348,7 +348,8 @@ clean_up (EItipControl *itip) g_free (priv->vcalendar); priv->vcalendar = NULL; - gtk_object_unref (GTK_OBJECT (priv->comp)); + if (priv->comp) + gtk_object_unref (GTK_OBJECT (priv->comp)); priv->comp = NULL; icalcomponent_free (priv->top_level); -- cgit v1.2.3