diff options
Diffstat (limited to 'ganv')
-rw-r--r-- | ganv/Item.hpp | 5 | ||||
-rw-r--r-- | ganv/module.h | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/ganv/Item.hpp b/ganv/Item.hpp index 7dacf01..e4f2c52 100644 --- a/ganv/Item.hpp +++ b/ganv/Item.hpp @@ -46,7 +46,10 @@ public: } } - virtual ~Item() {} + virtual ~Item() { + gtk_object_destroy(GTK_OBJECT(_gobj)); + } + RW_PROPERTY(double, x) RW_PROPERTY(double, y) diff --git a/ganv/module.h b/ganv/module.h index 7520722..16c5258 100644 --- a/ganv/module.h +++ b/ganv/module.h @@ -61,10 +61,6 @@ GanvPort* ganv_module_get_port(GanvModule* module, guint index); -void -ganv_module_add_port(GanvModule* module, - GanvPort* port); - double ganv_module_get_empty_port_breadth(const GanvModule* module); |