diff options
author | David Robillard <d@drobilla.net> | 2012-06-30 20:34:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-06-30 20:34:53 +0000 |
commit | 57f3697350c1a6f1934a58ac8e3083205e685f71 (patch) | |
tree | 361716259e05b48e7c356f1fb1c6dbf8eefed353 | |
parent | fff0964a6da0bb05a7791fa428832e1bd4fb6d14 (diff) | |
download | ganv-57f3697350c1a6f1934a58ac8e3083205e685f71.tar.gz ganv-57f3697350c1a6f1934a58ac8e3083205e685f71.tar.bz2 ganv-57f3697350c1a6f1934a58ac8e3083205e685f71.zip |
Fix occasional crashes after node deletion (fix #843).
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4506 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | ganv/Module.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ganv/Module.hpp b/ganv/Module.hpp index a7b7db3..21deb91 100644 --- a/ganv/Module.hpp +++ b/ganv/Module.hpp @@ -112,6 +112,10 @@ public: } } + Port* get_port(guint index) { + return Glib::wrap(ganv_module_get_port(gobj(), index)); + } + METHOD2(ganv_module, for_each_port, GanvPortFunc, f, void*, data); METHODRET0(ganv_module, guint, num_ports); |