diff options
Diffstat (limited to 'ganv/Edge.hpp')
-rw-r--r-- | ganv/Edge.hpp | 7 |
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() { |