[evolution/gnome-3-10] Bug #711477 - Print/export tasks/memos without summary displays "(null)"



commit eb96449f5c44eff41c811cb7439ca5f5a09156e5
Author: Milan Crha <mcrha redhat com>
Date:   Tue Nov 5 20:02:26 2013 +0100

    Bug #711477 - Print/export tasks/memos without summary displays "(null)"

 calendar/gui/print.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/calendar/gui/print.c b/calendar/gui/print.c
index 9ae8fbf..13f195c 100644
--- a/calendar/gui/print.c
+++ b/calendar/gui/print.c
@@ -3531,7 +3531,7 @@ print_comp_draw_real (GtkPrintOperation *operation,
        /* Summary */
        font = get_font_for_size (18, PANGO_WEIGHT_BOLD);
        e_cal_component_get_summary (comp, &text);
-       summary_string = g_strdup_printf (_("Summary: %s"), text.value);
+       summary_string = g_strdup_printf (_("Summary: %s"), text.value ? text.value : "");
        top = bound_text (
                context, font, summary_string, -1, 0.0, top, width,
                height, FALSE, &page_start, &pages);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]