diff options
author | David Robillard <d@drobilla.net> | 2012-01-11 03:49:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-01-11 03:49:32 +0000 |
commit | 5efc7ae9c304d7e01cc00291e0857ced7d3582ba (patch) | |
tree | 95952f5f1e49a3c6190291add106e96d90a11c86 /src/node.c | |
parent | b666782d06fc2cd9fe810b3fdbf13cc3949f6927 (diff) | |
download | ganv-5efc7ae9c304d7e01cc00291e0857ced7d3582ba.tar.gz ganv-5efc7ae9c304d7e01cc00291e0857ced7d3582ba.tar.bz2 ganv-5efc7ae9c304d7e01cc00291e0857ced7d3582ba.zip |
Fix crash on shutdown and item deletion.
Use Item add and remove virtual methods for adding/removing ports instead of special explicit functions.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3933 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/node.c')
-rw-r--r-- | src/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -85,7 +85,7 @@ ganv_node_destroy(GtkObject* object) GanvNode* node = GANV_NODE(object); GanvNodeImpl* impl = node->impl; if (impl->label) { - gtk_object_destroy(GTK_OBJECT(impl->label)); + g_object_unref(impl->label); impl->label = NULL; } |