diff options
Diffstat (limited to 'ganv')
-rw-r--r-- | ganv/Circle.hpp | 2 | ||||
-rw-r--r-- | ganv/Module.hpp | 2 | ||||
-rw-r--r-- | ganv/canvas-base.h | 4 |
3 files changed, 4 insertions, 4 deletions
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 |