diff options
author | Benjamin Otte <otte@redhat.com> | 2010-10-08 21:37:55 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-30 01:49:58 +0800 |
commit | bac4bdb7a564c248b6a09e417da8098455ecdb62 (patch) | |
tree | 698aa7ef7ffd10696819afd907c825663c5bb64c /libgnomecanvas/gnome-canvas-widget.c | |
parent | df70b76a554a94335e14ede2d7cbc5e1ec7fd7d6 (diff) | |
download | gsoc2013-evolution-bac4bdb7a564c248b6a09e417da8098455ecdb62.tar.gz gsoc2013-evolution-bac4bdb7a564c248b6a09e417da8098455ecdb62.tar.zst gsoc2013-evolution-bac4bdb7a564c248b6a09e417da8098455ecdb62.zip |
gnome-canvas: Remove GnomeCanvasItem->render vfunc
It's unused now
Diffstat (limited to 'libgnomecanvas/gnome-canvas-widget.c')
-rw-r--r-- | libgnomecanvas/gnome-canvas-widget.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libgnomecanvas/gnome-canvas-widget.c b/libgnomecanvas/gnome-canvas-widget.c index 85259f0ce0..2229803872 100644 --- a/libgnomecanvas/gnome-canvas-widget.c +++ b/libgnomecanvas/gnome-canvas-widget.c @@ -74,8 +74,6 @@ static void gnome_canvas_widget_bounds (GnomeCanvasItem *item, gdouble *x2, gdouble *y2); -static void gnome_canvas_widget_render (GnomeCanvasItem *item, - GnomeCanvasBuf *buf); static void gnome_canvas_widget_draw (GnomeCanvasItem *item, GdkDrawable *drawable, gint x, @@ -166,7 +164,6 @@ gnome_canvas_widget_class_init (GnomeCanvasWidgetClass *class) item_class->update = gnome_canvas_widget_update; item_class->point = gnome_canvas_widget_point; item_class->bounds = gnome_canvas_widget_bounds; - item_class->render = gnome_canvas_widget_render; item_class->draw = gnome_canvas_widget_draw; } @@ -412,21 +409,6 @@ gnome_canvas_widget_update (GnomeCanvasItem *item, } static void -gnome_canvas_widget_render (GnomeCanvasItem *item, - GnomeCanvasBuf *buf) -{ -#if 0 - GnomeCanvasWidget *witem; - - witem = GNOME_CANVAS_WIDGET (item); - - if (witem->widget) - gtk_widget_queue_draw (witem->widget); -#endif - -} - -static void gnome_canvas_widget_draw (GnomeCanvasItem *item, GdkDrawable *drawable, gint x, gint y, |