diff options
author | Milan Crha <mcrha@redhat.com> | 2011-06-27 17:31:32 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-06-27 17:31:32 +0800 |
commit | 46eec90c098d5b239035568ae5c25ae9127a8373 (patch) | |
tree | cda1ef61bbea5fa05d836a6507cb080ecb6e68fb /calendar/gui/e-week-view.c | |
parent | a6b861d9574f81cc7ca07bc1dc94749b80980ca2 (diff) | |
download | gsoc2013-evolution-46eec90c098d5b239035568ae5c25ae9127a8373.tar gsoc2013-evolution-46eec90c098d5b239035568ae5c25ae9127a8373.tar.gz gsoc2013-evolution-46eec90c098d5b239035568ae5c25ae9127a8373.tar.bz2 gsoc2013-evolution-46eec90c098d5b239035568ae5c25ae9127a8373.tar.lz gsoc2013-evolution-46eec90c098d5b239035568ae5c25ae9127a8373.tar.xz gsoc2013-evolution-46eec90c098d5b239035568ae5c25ae9127a8373.tar.zst gsoc2013-evolution-46eec90c098d5b239035568ae5c25ae9127a8373.zip |
Bug #653154 - Crash when constructing calendar view
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r-- | calendar/gui/e-week-view.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 47f03a9fa2..2385b9f189 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -3244,6 +3244,7 @@ e_week_view_reshape_event_span (EWeekView *week_view, - E_WEEK_VIEW_EVENT_BORDER_WIDTH - E_WEEK_VIEW_EVENT_EDGE_X_PAD - text_x; } else { + text = NULL; /* Get the width of the text of the event. This is a bit of a hack. It would be better if EText could tell us this. */ @@ -3951,6 +3952,7 @@ e_week_view_on_editing_stopped (EWeekView *week_view, if (!uid) return; + text = NULL; g_object_set (span->text_item, "handle_popup", FALSE, NULL); g_object_get (G_OBJECT (span->text_item), "text", &text, NULL); |