aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-component-preview.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-04-27 18:07:09 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-04-28 20:06:00 +0800
commit06a883940fcd97c5324fc2cdf3b3ffc50772208e (patch)
tree12867ebca018c136de40a4d8f08bbc2afc33d320 /calendar/gui/e-cal-component-preview.c
parente887df9a554e452c7c1bb2bae3739cb43ddf73bc (diff)
downloadgsoc2013-evolution-06a883940fcd97c5324fc2cdf3b3ffc50772208e.tar
gsoc2013-evolution-06a883940fcd97c5324fc2cdf3b3ffc50772208e.tar.gz
gsoc2013-evolution-06a883940fcd97c5324fc2cdf3b3ffc50772208e.tar.bz2
gsoc2013-evolution-06a883940fcd97c5324fc2cdf3b3ffc50772208e.tar.lz
gsoc2013-evolution-06a883940fcd97c5324fc2cdf3b3ffc50772208e.tar.xz
gsoc2013-evolution-06a883940fcd97c5324fc2cdf3b3ffc50772208e.tar.zst
gsoc2013-evolution-06a883940fcd97c5324fc2cdf3b3ffc50772208e.zip
Allow Last Modified and Created columns for event table
** Fix for bug #575773 * gui/e-calendar-table.etspec: * gui/e-cal-list-view.etspec: * gui/e-memo-table.etspec: * gui/e-cal-model.h: (ECalModelField), (struct _ECalModelComponent): * gui/e-cal-model.c: (get_datetime_from_utc), (ecm_value_at), (ecm_duplicate_value), (ecm_free_value), (ecm_initialize_value), (ecm_value_is_empty), (ecm_value_to_string), (e_cal_view_objects_modified_cb), (e_cal_model_component_finalize), (e_cal_model_component_init): Allow showing CREATED and LAST-MODIFIED properties in a table. * gui/print.c: (print_comp_draw_real): * gui/e-cal-component-preview.c: (write_html): * conduits/todo/todo-conduit.c: (local_record_from_comp): Possible leak fix.
Diffstat (limited to 'calendar/gui/e-cal-component-preview.c')
-rw-r--r--calendar/gui/e-cal-component-preview.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-component-preview.c b/calendar/gui/e-cal-component-preview.c
index 9264d449f1..01c01be6f9 100644
--- a/calendar/gui/e-cal-component-preview.c
+++ b/calendar/gui/e-cal-component-preview.c
@@ -256,9 +256,11 @@ cal_component_preview_write_html (GtkHTMLStream *stream,
gtk_html_stream_printf (stream, "<TD>%s</TD></TR>", str);
g_free (str);
- e_cal_component_free_priority (priority_value);
}
+ if (priority_value)
+ e_cal_component_free_priority (priority_value);
+
/* write description and URL */
gtk_html_stream_printf (stream, "<TR><TD COLSPAN=\"2\"><HR></TD></TR>");