aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-group.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-02-19 00:48:37 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-02-19 00:48:37 +0800
commit29a48cb2cee59ddb42c6afb7f87a01e6a37a9895 (patch)
tree123d5303c58995f8be0a7da273780eac29b3b3f5 /widgets/table/e-table-group.h
parente9dc381d3ace3404d0eafe94eb6da3b9a843abb8 (diff)
downloadgsoc2013-evolution-29a48cb2cee59ddb42c6afb7f87a01e6a37a9895.tar
gsoc2013-evolution-29a48cb2cee59ddb42c6afb7f87a01e6a37a9895.tar.gz
gsoc2013-evolution-29a48cb2cee59ddb42c6afb7f87a01e6a37a9895.tar.bz2
gsoc2013-evolution-29a48cb2cee59ddb42c6afb7f87a01e6a37a9895.tar.lz
gsoc2013-evolution-29a48cb2cee59ddb42c6afb7f87a01e6a37a9895.tar.xz
gsoc2013-evolution-29a48cb2cee59ddb42c6afb7f87a01e6a37a9895.tar.zst
gsoc2013-evolution-29a48cb2cee59ddb42c6afb7f87a01e6a37a9895.zip
Fix ETable/ETree signal signatures.
To avoid another case like bug #587014, add GSignalAccumulator functions to all ETable and ETree signals that return a flag to indicate the signal has been handled. See commit e9dc381d3ace3404d0eafe94eb6da3b9a843abb8 for an example of the kind of problems not having a GSignalAccumulator can cause. Signals changed: ETree::click ETree::right-click ETree::white-space-event ETable::click ETable::key-press ETable::right-click ETable::start-drag ETable::white-space-event ETableItem::click ETableItem::right-click ETableItem::start-drag ETableGroup::click ETableGroup::key-press ETableGroup::right-click ETableGroup::start-drag
Diffstat (limited to 'widgets/table/e-table-group.h')
-rw-r--r--widgets/table/e-table-group.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/widgets/table/e-table-group.h b/widgets/table/e-table-group.h
index 7bf139e666..7ac1a243e8 100644
--- a/widgets/table/e-table-group.h
+++ b/widgets/table/e-table-group.h
@@ -72,9 +72,9 @@ typedef struct {
void (*cursor_change) (ETableGroup *etg, gint row);
void (*cursor_activated) (ETableGroup *etg, gint row);
void (*double_click) (ETableGroup *etg, gint row, gint col, GdkEvent *event);
- gint (*right_click) (ETableGroup *etg, gint row, gint col, GdkEvent *event);
- gint (*click) (ETableGroup *etg, gint row, gint col, GdkEvent *event);
- gint (*key_press) (ETableGroup *etg, gint row, gint col, GdkEvent *event);
+ gboolean (*right_click) (ETableGroup *etg, gint row, gint col, GdkEvent *event);
+ gboolean (*click) (ETableGroup *etg, gint row, gint col, GdkEvent *event);
+ gboolean (*key_press) (ETableGroup *etg, gint row, gint col, GdkEvent *event);
gint (*start_drag) (ETableGroup *etg, gint row, gint col, GdkEvent *event);
/* Virtual functions. */
@@ -154,15 +154,15 @@ void e_table_group_double_click (ETableGroup *etg,
gint row,
gint col,
GdkEvent *event);
-gint e_table_group_right_click (ETableGroup *etg,
+gboolean e_table_group_right_click (ETableGroup *etg,
gint row,
gint col,
GdkEvent *event);
-gint e_table_group_click (ETableGroup *etg,
+gboolean e_table_group_click (ETableGroup *etg,
gint row,
gint col,
GdkEvent *event);
-gint e_table_group_key_press (ETableGroup *etg,
+gboolean e_table_group_key_press (ETableGroup *etg,
gint row,
gint col,
GdkEvent *event);