[gedit-cossa] previewer: fix warnings



commit fdacdc5b5e1a16521d15eb0ee7cac213fdb71620
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Jun 15 09:36:33 2011 +0200

    previewer: fix warnings

 src/cossa-previewer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/cossa-previewer.c b/src/cossa-previewer.c
index 0d11970..fbb2bf2 100644
--- a/src/cossa-previewer.c
+++ b/src/cossa-previewer.c
@@ -316,7 +316,7 @@ cossa_previewer_get_preferred_width (GtkWidget *widget,
     {
       GList *sample;
       gint width = 0;
-      gint row_width;
+      gint row_width = 0;
 
       sample = priv->samples;
       while (sample)
@@ -364,7 +364,7 @@ cossa_previewer_get_preferred_height_for_width (GtkWidget *widget,
     {
       GList *sample;
       gint height = 0;
-      gint row_height;
+      gint row_height = 0;
 
       sample = priv->samples;
       while (sample)



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