From 15611d1f9d7a6aba34b70ccaf63f564d565b55f3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 10 Jun 2011 01:45:19 +0000 Subject: Avoid resizing entirely when adding a port and new size/etc is simple to compute. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3382 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/Port.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/Port.hpp') diff --git a/src/gui/Port.hpp b/src/gui/Port.hpp index 17b1c37b..3bc66cd3 100644 --- a/src/gui/Port.hpp +++ b/src/gui/Port.hpp @@ -40,11 +40,11 @@ namespace GUI { class Port : public FlowCanvas::Port { public: - static SharedPtr create( - FlowCanvas::Module& module, - SharedPtr pm, - bool human_name, - bool flip = false); + static Port* create( + FlowCanvas::Module& module, + SharedPtr pm, + bool human_name, + bool flip = false); ~Port(); -- cgit v1.2.1