aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-11-27 20:01:33 +0800
committerMilan Crha <mcrha@redhat.com>2009-11-27 20:01:33 +0800
commit598a549f319eae0d80248db80c688a2967c23b6f (patch)
tree531bd8656ae02a4d1037dbdd04aca1693bb39a00 /calendar
parentc6727d66ade72df6fbaff9f111a06993aeefdecc (diff)
downloadgsoc2013-evolution-598a549f319eae0d80248db80c688a2967c23b6f.tar.gz
gsoc2013-evolution-598a549f319eae0d80248db80c688a2967c23b6f.tar.zst
gsoc2013-evolution-598a549f319eae0d80248db80c688a2967c23b6f.zip
Fix uninitialized variable from a patch for bug #591330 (yet another)
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/e-cal-component-preview.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gui/e-cal-component-preview.c b/calendar/gui/e-cal-component-preview.c
index f93b162b2d..6720156911 100644
--- a/calendar/gui/e-cal-component-preview.c
+++ b/calendar/gui/e-cal-component-preview.c
@@ -378,9 +378,7 @@ cal_component_preview_write_html (GString *buffer,
static void
cal_component_preview_finalize (GObject *object)
{
- ECalComponentPreview *preview;
-
- clear_comp_info (E_CAL_COMPONENT_PREVIEW (preview));
+ clear_comp_info (E_CAL_COMPONENT_PREVIEW (object));
/* Chain up to parent's finalize() method. */
G_OBJECT_CLASS (parent_class)->finalize (object);