diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-09-25 05:51:24 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-09-25 05:51:24 +0800 |
commit | 53e4dca70fde21056b85d6d162454f1997e42149 (patch) | |
tree | 3ce97dc11c0877de73e726cbe1240c9b3a01e256 /widgets | |
parent | 39a677e75a0f0a4b80d4457799ed44d21e173eaf (diff) | |
download | gsoc2013-evolution-53e4dca70fde21056b85d6d162454f1997e42149.tar gsoc2013-evolution-53e4dca70fde21056b85d6d162454f1997e42149.tar.gz gsoc2013-evolution-53e4dca70fde21056b85d6d162454f1997e42149.tar.bz2 gsoc2013-evolution-53e4dca70fde21056b85d6d162454f1997e42149.tar.lz gsoc2013-evolution-53e4dca70fde21056b85d6d162454f1997e42149.tar.xz gsoc2013-evolution-53e4dca70fde21056b85d6d162454f1997e42149.tar.zst gsoc2013-evolution-53e4dca70fde21056b85d6d162454f1997e42149.zip |
Use the correct prototype for the signal handler.
2001-09-24 Federico Mena Quintero <federico@ximian.com>
* 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
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-table.c | 8 | ||||
-rw-r--r-- | widgets/table/e-tree.c | 6 |
2 files changed, 8 insertions, 6 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index bf2f884c45..3751bae479 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -697,11 +697,9 @@ et_canvas_realize (GtkWidget *canvas, ETable *e_table) NULL); } -static void -et_canvas_button_press (GtkWidget *canvas, GdkEvent *event, ETable *e_table) +static gint +et_canvas_button_press (GtkWidget *canvas, GdkEventButton *event, ETable *e_table) { - fprintf (stderr, "et_canvas_button_press(): PRESSED\n"); - if (GTK_WIDGET_HAS_FOCUS(canvas)) { GnomeCanvasItem *item = GNOME_CANVAS(canvas)->focused_item; @@ -709,6 +707,8 @@ et_canvas_button_press (GtkWidget *canvas, GdkEvent *event, ETable *e_table) e_table_item_leave_edit(E_TABLE_ITEM(item)); } } + + return FALSE; } static void 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 |