diff options
author | monsta <[email protected]> | 2017-01-06 12:20:45 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-01-06 12:20:45 +0300 |
commit | 325be72a116c40c83a4803b2ade015352ac556ac (patch) | |
tree | 02aca1496bf8cb5ffb1e66112feb8cf41d66a3eb /eel | |
parent | a0b0cb68df1450ed735b546e605175a85602d3ae (diff) | |
download | caja-325be72a116c40c83a4803b2ade015352ac556ac.tar.bz2 caja-325be72a116c40c83a4803b2ade015352ac556ac.tar.xz |
remove some unused code that's also gone upstream
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-canvas-rect-ellipse.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/eel/eel-canvas-rect-ellipse.c b/eel/eel-canvas-rect-ellipse.c index 40237cf5..63468f28 100644 --- a/eel/eel-canvas-rect-ellipse.c +++ b/eel/eel-canvas-rect-ellipse.c @@ -806,14 +806,6 @@ eel_canvas_rect_update (EelCanvasItem *item, double i2w_dx, double i2w_dy, gint eel_canvas_w2c (item->canvas, x2, y2, &cx2, &cy2); update_rect = make_rect (cx1, cy1, cx2+1, cy2+1); -#if 0 - eel_canvas_request_redraw (item->canvas, - update_rect.x0, update_rect.y0, - update_rect.x1, update_rect.y1); - eel_canvas_request_redraw (item->canvas, - priv->last_update_rect.x0, priv->last_update_rect.y0, - priv->last_update_rect.x1, priv->last_update_rect.y1); -#else diff_rects (update_rect, priv->last_update_rect, &repaint_rects_count, repaint_rects); for (i = 0; i < repaint_rects_count; i++) @@ -822,7 +814,7 @@ eel_canvas_rect_update (EelCanvasItem *item, double i2w_dx, double i2w_dy, gint repaint_rects[i].x0, repaint_rects[i].y0, repaint_rects[i].x1, repaint_rects[i].y1); } -#endif + priv->last_update_rect = update_rect; if (re->outline_set) |