diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-11-08 10:13:03 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-11-08 10:13:03 +0800 |
commit | a891b81cfb3430a764dab0d5644114c4dab22297 (patch) | |
tree | de13086dc548fc1fc7dd626e115563baf97eb747 /libgnomecanvas/gnome-canvas.c | |
parent | b5bd3ae53c7f34112557668979cb2c7052d2790b (diff) | |
download | gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.gz gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.zst gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'libgnomecanvas/gnome-canvas.c')
-rw-r--r-- | libgnomecanvas/gnome-canvas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgnomecanvas/gnome-canvas.c b/libgnomecanvas/gnome-canvas.c index b72d0a1b50..cd2ffaa69f 100644 --- a/libgnomecanvas/gnome-canvas.c +++ b/libgnomecanvas/gnome-canvas.c @@ -2729,7 +2729,7 @@ gnome_canvas_paint_rect (GnomeCanvas *canvas, gint x0, gint y0, gint x1, gint y1 /* Copy the pixmap to the window and clean up */ cr = gdk_cairo_create (bin_window); - gdk_cairo_set_source_pixmap (cr, pixmap, + gdk_cairo_set_source_pixmap (cr, pixmap, draw_x1 + canvas->zoom_xofs, draw_y1 + canvas->zoom_yofs); cairo_paint (cr); @@ -2772,7 +2772,7 @@ gnome_canvas_expose (GtkWidget *widget, GdkEventExpose *event) rect.height = rects[i].height; if (canvas->need_update) { - gnome_canvas_request_redraw (canvas, + gnome_canvas_request_redraw (canvas, rect.x, rect.y, rect.x + rect.width, rect.y + rect.height); |