diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/canvas-base.c | 3 | ||||
-rw-r--r-- | src/ganv-private.h | 3 | ||||
-rw-r--r-- | src/port.c | 4 |
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 @@ -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; |