From 53e4dca70fde21056b85d6d162454f1997e42149 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 24 Sep 2001 21:51:24 +0000 Subject: Use the correct prototype for the signal handler. 2001-09-24 Federico Mena Quintero * e-table.c (et_canvas_button_press): Use the correct prototype for the signal handler. * e-tree.c (et_canvas_button_press): Likewise. svn path=/trunk/; revision=13105 --- widgets/table/e-tree.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'widgets/table/e-tree.c') diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c index 62c4891b2a..35cb532e6c 100644 --- a/widgets/table/e-tree.c +++ b/widgets/table/e-tree.c @@ -679,8 +679,8 @@ et_canvas_realize (GtkWidget *canvas, ETree *e_tree) NULL); } -static void -et_canvas_button_press (GtkWidget *canvas, GdkEvent *event, ETree *e_tree) +static gint +et_canvas_button_press (GtkWidget *canvas, GdkEventButton *event, ETree *e_tree) { if (GTK_WIDGET_HAS_FOCUS(canvas)) { GnomeCanvasItem *item = GNOME_CANVAS(canvas)->focused_item; @@ -689,6 +689,8 @@ et_canvas_button_press (GtkWidget *canvas, GdkEvent *event, ETree *e_tree) e_table_item_leave_edit(E_TABLE_ITEM(item)); } } + + return FALSE; } static void -- cgit