diff -u libgnomecanvas-2.20.1.1/debian/changelog libgnomecanvas-2.20.1.1/debian/changelog --- libgnomecanvas-2.20.1.1/debian/changelog +++ libgnomecanvas-2.20.1.1/debian/changelog @@ -1,3 +1,12 @@ +libgnomecanvas (2.20.1.1-1ubuntu3) intrepid-proposed; urgency=low + + * debian/patches/90_upstream_corretcly_update.patch: + - fix the patch to solve problems with redrawing; thanks + to Federico Mena Quintero who provided this version and to + Denis Auroux who suggested it (LP: #272316) + + -- Pietro Battiston Fri, 21 Nov 2008 02:16:04 +0100 + libgnomecanvas (2.20.1.1-1ubuntu2) intrepid; urgency=low * debian/patches/90_upstream_correctly_update.patch: diff -u libgnomecanvas-2.20.1.1/debian/patches/90_upstream_correctly_update.patch libgnomecanvas-2.20.1.1/debian/patches/90_upstream_correctly_update.patch --- libgnomecanvas-2.20.1.1/debian/patches/90_upstream_correctly_update.patch +++ libgnomecanvas-2.20.1.1/debian/patches/90_upstream_correctly_update.patch @@ -233,8 +233,8 @@ - /* Send synthetic expose events */ + /* Turn those rectangles into a GdkRegion for exposing */ + -+ visible_rect.x0 = canvas->layout.hadjustment->value; -+ visible_rect.y0 = canvas->layout.vadjustment->value; ++ visible_rect.x0 = canvas->layout.hadjustment->value - canvas -> zoom_xofs; ++ visible_rect.y0 = canvas->layout.vadjustment->value - canvas -> zoom_yofs; + visible_rect.x1 = visible_rect.x0 + GTK_WIDGET (canvas)->allocation.width; + visible_rect.y1 = visible_rect.y0 + GTK_WIDGET (canvas)->allocation.height; + @@ -267,8 +267,8 @@ + if (!art_irect_empty (&clipped)) { + GdkRectangle gdkrect; + -+ gdkrect.x = clipped.x0; -+ gdkrect.y = clipped.y0; ++ gdkrect.x = clipped.x0 + canvas->zoom_xofs; ++ gdkrect.y = clipped.y0 + canvas->zoom_yofs; + gdkrect.width = clipped.x1 - clipped.x0; + gdkrect.height = clipped.y1 - clipped.y0; +