[evolution/gtk3] canvas: Remove unused variable.



commit 8ec28c95ef1f1706a44acdad000cb4e4e94e2a4b
Author: Benjamin Otte <otte redhat com>
Date:   Fri Jan 21 05:13:44 2011 +0100

    canvas: Remove unused variable.

 libgnomecanvas/gnome-canvas.c |    4 ----
 libgnomecanvas/gnome-canvas.h |    6 ------
 2 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/libgnomecanvas/gnome-canvas.c b/libgnomecanvas/gnome-canvas.c
index 41e8085..2707597 100644
--- a/libgnomecanvas/gnome-canvas.c
+++ b/libgnomecanvas/gnome-canvas.c
@@ -1763,10 +1763,6 @@ gnome_canvas_paint_rect (GnomeCanvas *canvas,
 	if (draw_width < 1 || draw_height < 1)
 		return;
 
-	canvas->redraw_x1 = draw_x1;
-	canvas->redraw_y1 = draw_y1;
-	canvas->redraw_x2 = draw_x2;
-	canvas->redraw_y2 = draw_y2;
 	canvas->draw_xofs = draw_x1;
 	canvas->draw_yofs = draw_y1;
 
diff --git a/libgnomecanvas/gnome-canvas.h b/libgnomecanvas/gnome-canvas.h
index 66fa8d1..54009aa 100644
--- a/libgnomecanvas/gnome-canvas.h
+++ b/libgnomecanvas/gnome-canvas.h
@@ -378,12 +378,6 @@ struct _GnomeCanvas {
 	/* Idle handler ID */
 	guint idle_id;
 
-	/* Area that is being redrawn.  Contains (x1, y1) but not (x2, y2).
-	 * Specified in canvas pixel coordinates.
-	 */
-	gint redraw_x1, redraw_y1;
-	gint redraw_x2, redraw_y2;
-
 	/* Offsets of the temprary drawing pixmap */
 	gint draw_xofs, draw_yofs;
 



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