diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2005-11-28 22:36:26 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2005-11-28 22:36:26 +0000 |
commit | 2b49b2433b6dc06a52b0848af62373c747f18ac9 (patch) | |
tree | 10456e452edb340f68a1229afa5af9aadd3ba11b /gtk2_ardour/canvas-imageframe.c | |
parent | d6a27c9537926e4ec7bd3371da97a2d1f85b6e86 (diff) |
mega commit to remove gtk_object cruft, and much other stuff
git-svn-id: svn://localhost/trunk/ardour2@139 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-imageframe.c')
-rw-r--r-- | gtk2_ardour/canvas-imageframe.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/canvas-imageframe.c b/gtk2_ardour/canvas-imageframe.c index 31ac9e36de..6ba51c0fdc 100644 --- a/gtk2_ardour/canvas-imageframe.c +++ b/gtk2_ardour/canvas-imageframe.c @@ -100,10 +100,9 @@ gnome_canvas_imageframe_class_init (GnomeCanvasImageFrameClass *class) g_object_class_install_property (gobject_class, PROP_PIXBUF, - g_param_spec_boxed ("pixbuf", + g_param_spec_pointer ("pixbuf", _("pixbuf"), _("the pixbuf"), - GDK_TYPE_PIXBUF, G_PARAM_WRITABLE)); g_object_class_install_property (gobject_class, PROP_X, @@ -291,10 +290,10 @@ gnome_canvas_imageframe_set_property (GObject *object, switch (prop_id) { case PROP_PIXBUF: - if (item->canvas->aa && g_value_get_boxed (value)) { + if (item->canvas->aa && g_value_get_pointer (value)) { if (image->pixbuf != NULL) art_pixbuf_free (image->pixbuf); - image->pixbuf = g_value_get_boxed (value); + image->pixbuf = g_value_get_pointer (value); } update = TRUE; break; |