[goocanvas] 2010-07-27 Damon Chaplin <damon gnome org>



commit 1c8d76ae9204cbc5a75c4bf2f83b5a91c2c8f921
Author: Damon Chaplin <damon gnome org>
Date:   Tue Jul 27 11:31:18 2010 +0100

    2010-07-27  Damon Chaplin  <damon gnome org>
    
    	    * src/goocanvas.c (goo_canvas_adjustment_value_changed): fixed call
    	    to redraw_static_items_at_position() - was using hadjustment twice.

 ChangeLog       |    5 +++++
 src/goocanvas.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index aebf620..42f2af3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-27  Damon Chaplin  <damon gnome org>
+
+	* src/goocanvas.c (goo_canvas_adjustment_value_changed): fixed call
+	to redraw_static_items_at_position() - was using hadjustment twice.
+
 2010-07-25  Damon Chaplin  <damon gnome org>
 
 	* src/goocanvas.c (goo_canvas_configure_hadjustment)
diff --git a/src/goocanvas.c b/src/goocanvas.c
index 1a9f82c..20c742a 100644
--- a/src/goocanvas.c
+++ b/src/goocanvas.c
@@ -2012,7 +2012,7 @@ goo_canvas_adjustment_value_changed (GtkAdjustment *adjustment,
 	     from being "dragged" when the window is scrolled. */
 	  redraw_static_items_at_position (canvas,
 					   -gtk_adjustment_get_value (canvas->hadjustment),
-					   -gtk_adjustment_get_value (canvas->hadjustment));
+					   -gtk_adjustment_get_value (canvas->vadjustment));
 
 	  /* Move the static items to the new position. */
 	  priv->window_x = -gtk_adjustment_get_value (canvas->hadjustment);



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