From 3b63d9fa3114f0292561484f299d9d45ec451c17 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 15 Mar 2014 22:35:18 +0000 Subject: Clean up public canvas interface. Eliminate thin C wrappers around C++ methods (move actual implementation into C). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5338 a436a847-0d15-0410-975c-d299462d15a1 --- ganv/widget.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ganv/widget.h') diff --git a/ganv/widget.h b/ganv/widget.h index c5064d2..f9134ce 100644 --- a/ganv/widget.h +++ b/ganv/widget.h @@ -31,7 +31,7 @@ G_BEGIN_DECLS #define GANV_IS_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GANV_TYPE_WIDGET)) #define GANV_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GANV_TYPE_WIDGET, GanvWidgetClass)) -typedef struct _GanvWidget GanvWidget; +typedef struct _GanvWidget GanvWidget; typedef struct _GanvWidgetClass GanvWidgetClass; struct _GanvWidget { @@ -54,9 +54,12 @@ struct _GanvWidget { struct _GanvWidgetClass { GanvItemClass parent_class; + + /* Reserved for future expansion */ + gpointer spare_vmethods [4]; }; -GType ganv_widget_get_type(void); +GType ganv_widget_get_type(void) G_GNUC_CONST; G_END_DECLS -- cgit v1.2.1