[Goodies-commits] r2982 - ristretto/trunk/src

Stephan Arts stephan at xfce.org
Thu Aug 9 09:39:48 CEST 2007


Author: stephan
Date: 2007-08-09 07:39:48 +0000 (Thu, 09 Aug 2007)
New Revision: 2982

Modified:
   ristretto/trunk/src/main.c
Log:
fix critical message

Modified: ristretto/trunk/src/main.c
===================================================================
--- ristretto/trunk/src/main.c	2007-08-09 06:59:06 UTC (rev 2981)
+++ ristretto/trunk/src/main.c	2007-08-09 07:39:48 UTC (rev 2982)
@@ -488,7 +488,8 @@
             gtk_widget_show(image_tool_bar);
             gtk_widget_show(app_tool_bar);
             gtk_widget_show(status_bar);
-            rstto_picture_viewer_set_scale(viewer, viewer_scale);
+            if(viewer_scale)
+                rstto_picture_viewer_set_scale(viewer, viewer_scale);
         }
     }
 }




More information about the Goodies-commits mailing list