From 12c55defa28dd75ff91522c797ca9004061e5b2f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 10 Dec 2011 20:21:28 +0000 Subject: Change GanvGroup* to GanvItem* for parent pointers. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3857 a436a847-0d15-0410-975c-d299462d15a1 --- ganv/Circle.hpp | 2 +- ganv/Module.hpp | 2 +- ganv/canvas-base.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ganv') diff --git a/ganv/Circle.hpp b/ganv/Circle.hpp index 0c3d8e8..d63819b 100644 --- a/ganv/Circle.hpp +++ b/ganv/Circle.hpp @@ -55,7 +55,7 @@ public: : Node(&canvas, GANV_NODE( ganv_item_new( - GANV_GROUP(canvas.root()), + GANV_ITEM(canvas.root()), ganv_circle_get_type(), "x", x, "y", y, diff --git a/ganv/Module.hpp b/ganv/Module.hpp index 7e3ca7c..b734ba2 100644 --- a/ganv/Module.hpp +++ b/ganv/Module.hpp @@ -47,7 +47,7 @@ public: bool show_port_labels = true) : Box(&canvas, GANV_BOX( ganv_item_new( - GANV_GROUP(canvas.root()), + GANV_ITEM(canvas.root()), ganv_module_get_type(), "x", x, "y", y, diff --git a/ganv/canvas-base.h b/ganv/canvas-base.h index 1b20325..e859fb7 100644 --- a/ganv/canvas-base.h +++ b/ganv/canvas-base.h @@ -169,11 +169,11 @@ GType ganv_item_get_type(void) G_GNUC_CONST; * automatically inserted at the top of the specified canvas group. The last * argument must be a NULL pointer. */ -GanvItem* ganv_item_new(GanvGroup* parent, GType type, +GanvItem* ganv_item_new(GanvItem* parent, GType type, const gchar* first_arg_name, ...); /* Constructors for use in derived classes and language wrappers */ -void ganv_item_construct(GanvItem* item, GanvGroup* parent, +void ganv_item_construct(GanvItem* item, GanvItem* parent, const gchar* first_arg_name, va_list args); /* Configure an item using the standard Gtk argument mechanism. The last -- cgit v1.2.1