From 598a549f319eae0d80248db80c688a2967c23b6f Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 27 Nov 2009 13:01:33 +0100 Subject: Fix uninitialized variable from a patch for bug #591330 (yet another) --- calendar/gui/e-cal-component-preview.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'calendar/gui/e-cal-component-preview.c') 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); -- cgit v1.2.3