From c4a7e58fc8a4aaf2653093de0b79465a071b0b3b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Aug 2012 01:51:12 +0000 Subject: Fix prototypes. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4632 a436a847-0d15-0410-975c-d299462d15a1 --- src/canvas-base.c | 3 ++- src/ganv-private.h | 3 --- src/port.c | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/canvas-base.c b/src/canvas-base.c index 6474c5a..0c070be 100644 --- a/src/canvas-base.c +++ b/src/canvas-base.c @@ -28,8 +28,9 @@ #include "ganv/canvas-base.h" #include "ganv/group.h" -#include "./gettext.h" #include "./ganv-marshal.h" +#include "./ganv-private.h" +#include "./gettext.h" /* We must run our idle update handler *before* GDK wants to redraw. */ #define CANVAS_IDLE_PRIORITY (GDK_PRIORITY_REDRAW - 5) diff --git a/src/ganv-private.h b/src/ganv-private.h index 2806d58..4c2a56d 100644 --- a/src/ganv-private.h +++ b/src/ganv-private.h @@ -200,9 +200,6 @@ ganv_canvas_port_event(GanvCanvas* canvas, void ganv_item_invoke_update(GanvItem* item, int flags); -void -ganv_canvas_base_request_update(GanvCanvasBase* canvas); - #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/port.c b/src/port.c index 5f835dc..3ba95b8 100644 --- a/src/port.c +++ b/src/port.c @@ -263,7 +263,7 @@ ganv_port_set_height(GanvBox* box, } static gboolean -event(GanvItem* item, GdkEvent* event) +ganv_port_event(GanvItem* item, GdkEvent* event) { GanvCanvas* canvas = GANV_CANVAS(item->canvas); @@ -306,7 +306,7 @@ ganv_port_class_init(GanvPortClass* class) object_class->destroy = ganv_port_destroy; - item_class->event = event; + item_class->event = ganv_port_event; item_class->draw = ganv_port_draw; node_class->tail_vector = ganv_port_tail_vector; -- cgit v1.2.1