diff options
author | Milan Crha <mcrha@redhat.com> | 2010-10-07 01:26:08 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-10-07 01:26:08 +0800 |
commit | 1c6f2d154e74f908e2c4a137de0233b5faf4f6b6 (patch) | |
tree | 77a33236e48ed59a7c7c65e8a1c91481dd09f3eb /libgnomecanvas/gnome-canvas-bpath.c | |
parent | 1b2fefb086c3e34089beb8b89b22d79005cc7725 (diff) | |
download | gsoc2013-evolution-1c6f2d154e74f908e2c4a137de0233b5faf4f6b6.tar.gz gsoc2013-evolution-1c6f2d154e74f908e2c4a137de0233b5faf4f6b6.tar.zst gsoc2013-evolution-1c6f2d154e74f908e2c4a137de0233b5faf4f6b6.zip |
Bug #631320 - GtkObject is gone in GTK3
Diffstat (limited to 'libgnomecanvas/gnome-canvas-bpath.c')
-rw-r--r-- | libgnomecanvas/gnome-canvas-bpath.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libgnomecanvas/gnome-canvas-bpath.c b/libgnomecanvas/gnome-canvas-bpath.c index 0a59712de2..0aee2ece46 100644 --- a/libgnomecanvas/gnome-canvas-bpath.c +++ b/libgnomecanvas/gnome-canvas-bpath.c @@ -35,7 +35,6 @@ enum { static void gnome_canvas_bpath_class_init (GnomeCanvasBpathClass *class); static void gnome_canvas_bpath_init (GnomeCanvasBpath *bpath); -static void gnome_canvas_bpath_destroy (GtkObject *object); static void gnome_canvas_bpath_set_property (GObject *object, guint param_id, const GValue *value, @@ -79,11 +78,9 @@ static void gnome_canvas_bpath_class_init (GnomeCanvasBpathClass *class) { GObjectClass *gobject_class; - GtkObjectClass *object_class; GnomeCanvasItemClass *item_class; gobject_class = (GObjectClass *) class; - object_class = (GtkObjectClass *) class; item_class = (GnomeCanvasItemClass *) class; parent_class = g_type_class_peek_parent (class); @@ -95,8 +92,6 @@ gnome_canvas_bpath_class_init (GnomeCanvasBpathClass *class) gobject_class->set_property = gnome_canvas_bpath_set_property; gobject_class->get_property = gnome_canvas_bpath_get_property; - object_class->destroy = gnome_canvas_bpath_destroy; - g_object_class_install_property (gobject_class, PROP_BPATH, g_param_spec_boxed ("bpath", NULL, NULL, @@ -113,13 +108,6 @@ gnome_canvas_bpath_init (GnomeCanvasBpath *bpath) } static void -gnome_canvas_bpath_destroy (GtkObject *object) -{ - if (GTK_OBJECT_CLASS (parent_class)->destroy) - (* GTK_OBJECT_CLASS (parent_class)->destroy) (object); -} - -static void gnome_canvas_bpath_set_property (GObject *object, guint param_id, const GValue *value, |