[evolution/gnome-2-28] Bug #599627 - Crash when adding a new task in a table
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution/gnome-2-28] Bug #599627 - Crash when adding a new task in a table
- Date: Tue, 3 Nov 2009 14:05:45 +0000 (UTC)
commit 571670cab5a6564ca560dbe0606b0b008906e992
Author: C de-Avillez <hggdh2 gmail com>
Date: Tue Nov 3 15:05:11 2009 +0100
Bug #599627 - Crash when adding a new task in a table
calendar/gui/e-cal-model.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 490c48c..b212dcf 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -913,15 +913,11 @@ ecm_append_row (ETableModel *etm, ETableModel *source, gint row)
g_warning (G_STRLOC ": Could not create the object!");
/* FIXME: show error dialog */
- icalcomponent_free (comp_data->icalcomp);
- g_object_unref (comp_data);
- return;
+ } else {
+ g_signal_emit (G_OBJECT (model), signals[ROW_APPENDED], 0);
}
- icalcomponent_free (comp_data->icalcomp);
g_object_unref (comp_data);
-
- g_signal_emit (G_OBJECT (model), signals[ROW_APPENDED], 0);
}
static gpointer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]