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 --- src/node.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/node.c') diff --git a/src/node.c b/src/node.c index 6092924..7d4a8f2 100644 --- a/src/node.c +++ b/src/node.c @@ -256,12 +256,11 @@ ganv_node_set_label(GanvNode* node, const char* str) "text", str, NULL); } else { - impl->label = GANV_TEXT(ganv_item_new( - GANV_GROUP(node), - ganv_text_get_type(), - "text", str, - "color", 0xFFFFFFFF, - NULL)); + impl->label = GANV_TEXT(ganv_item_new(node, + ganv_text_get_type(), + "text", str, + "color", 0xFFFFFFFF, + NULL)); } GanvNodeClass* klass = GANV_NODE_GET_CLASS(node); -- cgit v1.2.1