aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2006-07-22 18:17:18 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2006-07-22 18:17:18 +0800
commit452dc1600d0a6ae63474220e3ce74664058ece5c (patch)
tree8075bdefbdbe868f304ec3c79772d9dd8b38206f /calendar/gui/e-cal-model.c
parent30042452b679b31bdf0f51918e55c76d644dc772 (diff)
downloadgsoc2013-evolution-452dc1600d0a6ae63474220e3ce74664058ece5c.tar
gsoc2013-evolution-452dc1600d0a6ae63474220e3ce74664058ece5c.tar.gz
gsoc2013-evolution-452dc1600d0a6ae63474220e3ce74664058ece5c.tar.bz2
gsoc2013-evolution-452dc1600d0a6ae63474220e3ce74664058ece5c.tar.lz
gsoc2013-evolution-452dc1600d0a6ae63474220e3ce74664058ece5c.tar.xz
gsoc2013-evolution-452dc1600d0a6ae63474220e3ce74664058ece5c.tar.zst
gsoc2013-evolution-452dc1600d0a6ae63474220e3ce74664058ece5c.zip
Added support Gw notes.
svn path=/trunk/; revision=32378
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r--calendar/gui/e-cal-model.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 2de983ab10..2658124192 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -468,6 +468,11 @@ ecm_value_at (ETableModel *etm, int col, int row)
comp = e_cal_component_new ();
icalcomp = icalcomponent_new_clone (comp_data->icalcomp);
if (e_cal_component_set_icalcomponent (comp, icalcomp)) {
+ if (e_cal_component_get_vtype (comp) == E_CAL_COMPONENT_JOURNAL) {
+ g_object_unref (comp);
+ return GINT_TO_POINTER (retval);
+ }
+
if (e_cal_component_has_recurrences (comp))
retval = 1;
else if (itip_organizer_is_user (comp, comp_data->client))