diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-02-19 00:48:37 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-02-19 00:48:37 +0800 |
commit | 29a48cb2cee59ddb42c6afb7f87a01e6a37a9895 (patch) | |
tree | 123d5303c58995f8be0a7da273780eac29b3b3f5 /widgets/table/e-tree.h | |
parent | e9dc381d3ace3404d0eafe94eb6da3b9a843abb8 (diff) | |
download | gsoc2013-evolution-29a48cb2cee59ddb42c6afb7f87a01e6a37a9895.tar.gz 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-tree.h')
-rw-r--r-- | widgets/table/e-tree.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-tree.h b/widgets/table/e-tree.h index fa2ab787ce..968f6bef38 100644 --- a/widgets/table/e-tree.h +++ b/widgets/table/e-tree.h @@ -64,12 +64,12 @@ typedef struct { void (*cursor_activated) (ETree *et, gint row, ETreePath path); void (*selection_change) (ETree *et); void (*double_click) (ETree *et, gint row, ETreePath path, gint col, GdkEvent *event); - gint (*right_click) (ETree *et, gint row, ETreePath path, gint col, GdkEvent *event); - gint (*click) (ETree *et, gint row, ETreePath path, gint col, GdkEvent *event); + gboolean (*right_click) (ETree *et, gint row, ETreePath path, gint col, GdkEvent *event); + gboolean (*click) (ETree *et, gint row, ETreePath path, gint col, GdkEvent *event); gboolean (*key_press) (ETree *et, gint row, ETreePath path, gint col, GdkEvent *event); - gint (*start_drag) (ETree *et, gint row, ETreePath path, gint col, GdkEvent *event); - gint (*state_change) (ETree *et); - gint (*white_space_event) (ETree *et, GdkEvent *event); + gboolean (*start_drag) (ETree *et, gint row, ETreePath path, gint col, GdkEvent *event); + void (*state_change) (ETree *et); + gboolean (*white_space_event) (ETree *et, GdkEvent *event); void (*set_scroll_adjustments) (ETree *tree, GtkAdjustment *hadjustment, |