aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorC de-Avillez <hggdh2@gmail.com>2009-11-03 22:05:11 +0800
committerMilan Crha <mcrha@redhat.com>2009-11-03 22:05:11 +0800
commit571670cab5a6564ca560dbe0606b0b008906e992 (patch)
tree0f3a45f30738f19126695a8e955cc3cbb5a9d044
parent538104a93e5064242824023ad5d195e898745898 (diff)
downloadgsoc2013-evolution-571670cab5a6564ca560dbe0606b0b008906e992.tar
gsoc2013-evolution-571670cab5a6564ca560dbe0606b0b008906e992.tar.gz
gsoc2013-evolution-571670cab5a6564ca560dbe0606b0b008906e992.tar.bz2
gsoc2013-evolution-571670cab5a6564ca560dbe0606b0b008906e992.tar.lz
gsoc2013-evolution-571670cab5a6564ca560dbe0606b0b008906e992.tar.xz
gsoc2013-evolution-571670cab5a6564ca560dbe0606b0b008906e992.tar.zst
gsoc2013-evolution-571670cab5a6564ca560dbe0606b0b008906e992.zip
Bug #599627 - Crash when adding a new task in a table
-rw-r--r--calendar/gui/e-cal-model.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 490c48c571..b212dcfe13 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