aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorJesse Pavel <jpavel@src.gnome.org>2000-12-01 04:00:30 +0800
committerJesse Pavel <jpavel@src.gnome.org>2000-12-01 04:00:30 +0800
commit042427ffe22c81d6c38d021cdd66e38a5e550d1e (patch)
tree61414f71085456eb213b485a9988333f01188d70 /calendar/gui
parent24fdc5f5968e13dcc0501aac8b21d49e616fe5b3 (diff)
downloadgsoc2013-evolution-042427ffe22c81d6c38d021cdd66e38a5e550d1e.tar
gsoc2013-evolution-042427ffe22c81d6c38d021cdd66e38a5e550d1e.tar.gz
gsoc2013-evolution-042427ffe22c81d6c38d021cdd66e38a5e550d1e.tar.bz2
gsoc2013-evolution-042427ffe22c81d6c38d021cdd66e38a5e550d1e.tar.lz
gsoc2013-evolution-042427ffe22c81d6c38d021cdd66e38a5e550d1e.tar.xz
gsoc2013-evolution-042427ffe22c81d6c38d021cdd66e38a5e550d1e.tar.zst
gsoc2013-evolution-042427ffe22c81d6c38d021cdd66e38a5e550d1e.zip
fixed a bug that caused the calendar to segfault when the iTip control was
* gui/e-itip-control.c: fixed a bug that caused the calendar to segfault when the iTip control was destroyed. svn path=/trunk/; revision=6741
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-itip-control.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index d3a6a35311..476853c707 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -103,10 +103,13 @@ itip_control_destroy_cb (GtkObject *object,
gtk_object_unref (GTK_OBJECT (priv->xml));
gtk_object_unref (GTK_OBJECT (priv->xml2));
+ icalcomponent_remove_component (priv->main_comp, priv->comp);
+
if (priv->main_comp != NULL) {
icalcomponent_free (priv->main_comp);
}
+
if (priv->cal_comp != NULL) {
gtk_object_unref (GTK_OBJECT (priv->cal_comp));
}