summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-09 01:51:12 +0000
committerDavid Robillard <d@drobilla.net>2012-08-09 01:51:12 +0000
commitc4a7e58fc8a4aaf2653093de0b79465a071b0b3b (patch)
treedf4435e4597f1afa1294640a616eb059f5032614
parentd97b79a7ed7a09840a9d57c8299aafaa42037226 (diff)
downloadganv-c4a7e58fc8a4aaf2653093de0b79465a071b0b3b.tar.gz
ganv-c4a7e58fc8a4aaf2653093de0b79465a071b0b3b.tar.bz2
ganv-c4a7e58fc8a4aaf2653093de0b79465a071b0b3b.zip
Fix prototypes.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4632 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/canvas-base.c3
-rw-r--r--src/ganv-private.h3
-rw-r--r--src/port.c4
3 files changed, 4 insertions, 6 deletions
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;