gnome-control-center r9052 - trunk/capplets/display



Author: ssp
Date: Thu Oct  9 01:22:08 2008
New Revision: 9052
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9052&view=rev

Log:
Wed Oct  8 21:20:21 2008  S%GÃÂÂ% ren Sandmann  <sandmann redhat com>

	* scrollarea.c (foo_scroll_area_size_allocate): XOR the old and
	the new regions instead of subtracting old from new. Fixes bug
	551566, reported by Christian Persch.




Modified:
   trunk/capplets/display/ChangeLog
   trunk/capplets/display/scrollarea.c

Modified: trunk/capplets/display/scrollarea.c
==============================================================================
--- trunk/capplets/display/scrollarea.c	(original)
+++ trunk/capplets/display/scrollarea.c	Thu Oct  9 01:22:08 2008
@@ -816,7 +816,7 @@
 		       -widget->allocation.x, -widget->allocation.y);
     invalid = gdk_region_rectangle (allocation);
     gdk_region_offset (invalid, -allocation->x, -allocation->y);
-    gdk_region_subtract (invalid, old_allocation);
+    gdk_region_xor (invalid, old_allocation);
     allocation_to_canvas_region (scroll_area, invalid);
     foo_scroll_area_invalidate_region (scroll_area, invalid);
     gdk_region_destroy (old_allocation);



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