summaryrefslogtreecommitdiffstats
path: root/ganv/Edge.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-09 05:48:35 +0000
committerDavid Robillard <d@drobilla.net>2011-12-09 05:48:35 +0000
commit985d9b8babb2faac0de62cb684fc14c7910e9909 (patch)
treee59ebd3ae5144f503795aadbcbd4fb570c22377e /ganv/Edge.hpp
parent00df069cdf55e115ea734119c0ba97b78192cfcc (diff)
downloadganv-985d9b8babb2faac0de62cb684fc14c7910e9909.tar.gz
ganv-985d9b8babb2faac0de62cb684fc14c7910e9909.tar.bz2
ganv-985d9b8babb2faac0de62cb684fc14c7910e9909.zip
Remove GnomeCanvas dependency.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3842 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ganv/Edge.hpp')
-rw-r--r--ganv/Edge.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/ganv/Edge.hpp b/ganv/Edge.hpp
index 01b5b66..ee2423c 100644
--- a/ganv/Edge.hpp
+++ b/ganv/Edge.hpp
@@ -18,10 +18,9 @@
#include <stdint.h>
-#include <libgnomecanvas/gnome-canvas.h>
-
#include <gdk/gdkevents.h>
+#include "ganv/canvas-base.h"
#include "ganv/Canvas.hpp"
#include "ganv/Item.hpp"
#include "ganv/Node.hpp"
@@ -46,7 +45,7 @@ public:
uint32_t color,
bool show_arrowhead = false,
bool curved = true)
- : Item(GNOME_CANVAS_ITEM(
+ : Item(GANV_ITEM(
g_object_ref(
ganv_edge_new(
canvas.gobj(),
@@ -59,7 +58,7 @@ public:
{}
Edge(GanvEdge* gobj)
- : Item(GNOME_CANVAS_ITEM(g_object_ref(gobj)))
+ : Item(GANV_ITEM(g_object_ref(gobj)))
{}
virtual ~Edge() {