[evolution] Fix uninitialized variable from a patch for bug #591330 (yet another)



commit 598a549f319eae0d80248db80c688a2967c23b6f
Author: Milan Crha <mcrha redhat com>
Date:   Fri Nov 27 13:01:33 2009 +0100

    Fix uninitialized variable from a patch for bug #591330 (yet another)

 calendar/gui/e-cal-component-preview.c |    4 +---
 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 f93b162..6720156 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);



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