From 985d9b8babb2faac0de62cb684fc14c7910e9909 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 9 Dec 2011 05:48:35 +0000 Subject: Remove GnomeCanvas dependency. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3842 a436a847-0d15-0410-975c-d299462d15a1 --- ganv/canvas.h | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'ganv/canvas.h') diff --git a/ganv/canvas.h b/ganv/canvas.h index 906f7c4..08ec2f9 100644 --- a/ganv/canvas.h +++ b/ganv/canvas.h @@ -16,16 +16,7 @@ #ifndef GANV_CANVAS_H #define GANV_CANVAS_H -/** - * SECTION:ganv - * - * @version: 1.0.0 - * @Version: 1.0.0 - * - * #GanvCanvas is possibly the greatest thing, ever. - */ -#include - +#include "ganv/canvas-base.h" #include "ganv/types.h" #include "ganv/edge.h" @@ -55,9 +46,8 @@ typedef enum { GANV_DIRECTION_RIGHT } GanvDirection; -struct _GanvCanvas -{ - GnomeCanvas canvas; +struct _GanvCanvas { + GanvCanvasBase canvas; struct GanvCanvasImpl* impl; GanvDirection direction; double width; @@ -66,7 +56,7 @@ struct _GanvCanvas }; struct _GanvCanvasClass { - GnomeCanvasClass parent_class; + GanvCanvasBaseClass parent_class; }; GType ganv_canvas_get_type(void); @@ -80,7 +70,7 @@ ganv_canvas_resize(GanvCanvas* canvas, double width, double height); * ganv_canvas_get_root: * Return value: (transfer none): The root group of @canvas. */ -GnomeCanvasGroup* +GanvGroup* ganv_canvas_get_root(const GanvCanvas* canvas); void -- cgit v1.2.1