summaryrefslogtreecommitdiffstats
path: root/src/libs/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/gui')
-rw-r--r--src/libs/gui/Connection.hpp6
-rw-r--r--src/libs/gui/PatchCanvas.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/gui/Connection.hpp b/src/libs/gui/Connection.hpp
index f6072068..55378891 100644
--- a/src/libs/gui/Connection.hpp
+++ b/src/libs/gui/Connection.hpp
@@ -15,8 +15,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef CONNECTION_H
-#define CONNECTION_H
+#ifndef GUI_CONNECTION_H
+#define GUI_CONNECTION_H
#include <cassert>
#include <string>
@@ -57,4 +57,4 @@ private:
} // namespace GUI
} // namespace Ingen
-#endif // CONNECTION_H
+#endif // GUI_CONNECTION_H
diff --git a/src/libs/gui/PatchCanvas.cpp b/src/libs/gui/PatchCanvas.cpp
index e2e176cb..bbff476f 100644
--- a/src/libs/gui/PatchCanvas.cpp
+++ b/src/libs/gui/PatchCanvas.cpp
@@ -310,7 +310,7 @@ PatchCanvas::connection(SharedPtr<ConnectionModel> cm)
const SharedPtr<FlowCanvas::Port> dst = get_port_view(cm->dst_port());
if (src && dst)
- add_connection(boost::shared_ptr<Connection>(new Connection(shared_from_this(),
+ add_connection(boost::shared_ptr<GUI::Connection>(new GUI::Connection(shared_from_this(),
cm, src, dst, src->color() + 0x22222200)));
else
cerr << "[PatchCanvas] ERROR: Unable to find ports to connect "