From a4811c2f8ca7d8e32d1230b58e8140b60fcee2a3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 9 Mar 2012 22:31:06 +0000 Subject: Fix "disconnect all". git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4036 a436a847-0d15-0410-975c-d299462d15a1 --- ganv/Edge.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ganv/Edge.hpp') diff --git a/ganv/Edge.hpp b/ganv/Edge.hpp index ee2423c..6912eb2 100644 --- a/ganv/Edge.hpp +++ b/ganv/Edge.hpp @@ -46,7 +46,6 @@ public: bool show_arrowhead = false, bool curved = true) : Item(GANV_ITEM( - g_object_ref( ganv_edge_new( canvas.gobj(), tail->gobj(), @@ -54,11 +53,12 @@ public: "color", color, "curved", (gboolean)curved, "arrowhead", (gboolean)show_arrowhead, - NULL)))) - {} + NULL))) + { + } Edge(GanvEdge* gobj) - : Item(GANV_ITEM(g_object_ref(gobj))) + : Item(GANV_ITEM(gobj)) {} virtual ~Edge() { -- cgit v1.2.1