gimp r27894 - branches/gimp-2-6/app/display



Author: martinn
Date: Sun Jan  4 14:27:32 2009
New Revision: 27894
URL: http://svn.gnome.org/viewvc/gimp?rev=27894&view=rev

Log:
Make the file compile...


Modified:
   branches/gimp-2-6/app/display/gimpdisplayshell.c

Modified: branches/gimp-2-6/app/display/gimpdisplayshell.c
==============================================================================
--- branches/gimp-2-6/app/display/gimpdisplayshell.c	(original)
+++ branches/gimp-2-6/app/display/gimpdisplayshell.c	Sun Jan  4 14:27:32 2009
@@ -1870,14 +1870,14 @@
    * the normal approach to border size, so special case that.
    */
   if (disp_width > 1 || !shell->vsb)
-    border_width = widget->allocation.width - disp_width;
+    border_x = widget->allocation.width - disp_width;
   else
-    border_width = widget->allocation.width - disp_width + shell->vsb->allocation.width;
+    border_x = widget->allocation.width - disp_width + shell->vsb->allocation.width;
 
   if (disp_height > 1 || !shell->hsb)
-    border_height = widget->allocation.height - disp_height;
+    border_y = widget->allocation.height - disp_height;
   else
-    border_height = widget->allocation.height - disp_height + shell->hsb->allocation.height;
+    border_y = widget->allocation.height - disp_height + shell->hsb->allocation.height;
 
 
   max_auto_width  = (rect.width  - border_x) * 0.75;



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