[gimp/gtk3-port: 101/155] app: don't translate to allocation.x,y



commit ae3524944e8eb6004f4cc87f3aaa9436d9fa0a2b
Author: Michael Natterer <mitch gimp org>
Date:   Thu Oct 21 13:11:21 2010 +0200

    app: don't translate to allocation.x,y

 app/widgets/gimpnavigationview.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpnavigationview.c b/app/widgets/gimpnavigationview.c
index 4a9366d..f65f071 100644
--- a/app/widgets/gimpnavigationview.c
+++ b/app/widgets/gimpnavigationview.c
@@ -508,7 +508,6 @@ gimp_navigation_view_draw_marker (GimpNavigationView *nav_view,
 
       gtk_widget_get_allocation (widget, &allocation);
 
-      cairo_translate (cr, allocation.x, allocation.y);
       cairo_rectangle (cr,
                        0, 0,
                        allocation.width, allocation.height);



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