[planner: 17/61] eel-canvas-rect: Drop now no-op realize/unrealize vfunc overrides




commit d0b76dc1a104c72c74df0c15498d15fd711063b5
Author: Mart Raudsepp <leio gentoo org>
Date:   Sat Mar 7 13:10:13 2020 +0200

    eel-canvas-rect: Drop now no-op realize/unrealize vfunc overrides

 src/eel-canvas-rect.c | 18 ------------------
 1 file changed, 18 deletions(-)
---
diff --git a/src/eel-canvas-rect.c b/src/eel-canvas-rect.c
index 97158be3..41f8c4c4 100644
--- a/src/eel-canvas-rect.c
+++ b/src/eel-canvas-rect.c
@@ -285,22 +285,6 @@ eel_canvas_rect_update (GnomeCanvasItem *item,
        item->y2 = cy2;
 }
 
-static void
-eel_canvas_rect_realize (GnomeCanvasItem *item)
-{
-       if (GNOME_CANVAS_ITEM_CLASS (eel_canvas_rect_parent_class)->realize) {
-               GNOME_CANVAS_ITEM_CLASS (eel_canvas_rect_parent_class)->realize (item);
-       }
-}
-
-static void
-eel_canvas_rect_unrealize (GnomeCanvasItem *item)
-{
-       if (GNOME_CANVAS_ITEM_CLASS (eel_canvas_rect_parent_class)->unrealize) {
-               GNOME_CANVAS_ITEM_CLASS (eel_canvas_rect_parent_class)->unrealize (item);
-       }
-}
-
 static void
 eel_canvas_rect_render (GnomeCanvasItem *item,
                        GnomeCanvasBuf  *buf)
@@ -497,8 +481,6 @@ eel_canvas_rect_class_init (EelCanvasRectClass *class)
        gobject_class->get_property = eel_canvas_rect_get_property;
 
        item_class->update = eel_canvas_rect_update;
-       item_class->realize = eel_canvas_rect_realize;
-       item_class->unrealize = eel_canvas_rect_unrealize;
        item_class->draw = eel_canvas_rect_draw;
        item_class->point = eel_canvas_rect_point;
        item_class->render = eel_canvas_rect_render;


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