[cairo-commit] goocanvas/src goocanvasview.c,1.16,1.17

Damon Chaplin commit at pdx.freedesktop.org
Sun Apr 23 04:53:26 PDT 2006


Committed by: damon

Update of /cvs/cairo/goocanvas/src
In directory kemper:/tmp/cvs-serv8178/src

Modified Files:
	goocanvasview.c 
Log Message:
fixed typo


Index: goocanvasview.c
===================================================================
RCS file: /cvs/cairo/goocanvas/src/goocanvasview.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- goocanvasview.c	23 Apr 2006 11:32:08 -0000	1.16
+++ goocanvasview.c	23 Apr 2006 11:53:24 -0000	1.17
@@ -931,8 +931,8 @@
   view->freeze_count++;
 
   /* Remember the current adjustment values. */
-  hvalue = hadjustment->value;
-  vvalue = vadjustment->value;
+  hvalue = view->hadjustment->value;
+  vvalue = view->vadjustment->value;
 
   /* Update the adjustments so the item view is displayed. */
   gtk_adjustment_clamp_page (view->hadjustment, bounds->x1, bounds->x2);
@@ -941,7 +941,7 @@
   view->freeze_count--;
 
   /* If the adjustments have changed we need to scroll. */
-  if (hvalue != hadjustment->value || vvalue != vadjustment->value)
+  if (hvalue != view->hadjustment->value || vvalue != view->vadjustment->value)
     goo_canvas_view_adjustment_value_changed (NULL, view);
 }
 



More information about the cairo-commit mailing list