gimp r25243 - trunk/app/display



Author: neo
Date: Wed Mar 26 14:20:23 2008
New Revision: 25243
URL: http://svn.gnome.org/viewvc/gimp?rev=25243&view=rev

Log:
use the height for height, not the width


Modified:
   trunk/app/display/gimpcanvas.c

Modified: trunk/app/display/gimpcanvas.c
==============================================================================
--- trunk/app/display/gimpcanvas.c	(original)
+++ trunk/app/display/gimpcanvas.c	Wed Mar 26 14:20:23 2008
@@ -871,7 +871,7 @@
     }
 
   wilber_width  = cairo_image_surface_get_width (wilber) / 2;
-  wilber_height = cairo_image_surface_get_width (wilber) / 2;
+  wilber_height = cairo_image_surface_get_height (wilber) / 2;
 
   side = MIN (MIN (widget->allocation.width,
                    widget->allocation.height),



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