aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-09-08 03:03:00 +0800
committerChris Lahey <clahey@src.gnome.org>2001-09-08 03:03:00 +0800
commit5b32dc6ffce9b556d04517695f79158c1962127f (patch)
treeea6b7b5147577a0b20746d66f9b389bd30d8dd82
parent60e65ee806fe4c65eba3aacb5bccf87f9f90b04d (diff)
downloadgsoc2013-evolution-5b32dc6ffce9b556d04517695f79158c1962127f.tar
gsoc2013-evolution-5b32dc6ffce9b556d04517695f79158c1962127f.tar.gz
gsoc2013-evolution-5b32dc6ffce9b556d04517695f79158c1962127f.tar.bz2
gsoc2013-evolution-5b32dc6ffce9b556d04517695f79158c1962127f.tar.lz
gsoc2013-evolution-5b32dc6ffce9b556d04517695f79158c1962127f.tar.xz
gsoc2013-evolution-5b32dc6ffce9b556d04517695f79158c1962127f.tar.zst
gsoc2013-evolution-5b32dc6ffce9b556d04517695f79158c1962127f.zip
Bumped version number to 0.11.99.3 for ETableWithout.
2001-09-07 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.11.99.3 for ETableWithout. * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h (e_selection_model_maybe_do_something): Return a value based on whether we did something. svn path=/trunk/; revision=12679
-rw-r--r--widgets/misc/e-selection-model.c4
-rw-r--r--widgets/misc/e-selection-model.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/widgets/misc/e-selection-model.c b/widgets/misc/e-selection-model.c
index ec641e8373..3fd28a7db2 100644
--- a/widgets/misc/e-selection-model.c
+++ b/widgets/misc/e-selection-model.c
@@ -422,7 +422,7 @@ e_selection_model_do_something (ESelectionModel *selection,
* right clicks and other events where if the user hit the selection,
* they don't want it to change.
*/
-void
+gboolean
e_selection_model_maybe_do_something (ESelectionModel *selection,
guint row,
guint col,
@@ -432,8 +432,10 @@ e_selection_model_maybe_do_something (ESelectionModel *selection,
e_selection_model_change_cursor(selection, row, col);
gtk_signal_emit(GTK_OBJECT(selection),
e_selection_model_signals[CURSOR_CHANGED], row, col);
+ return FALSE;
} else {
e_selection_model_do_something(selection, row, col, state);
+ return TRUE;
}
}
diff --git a/widgets/misc/e-selection-model.h b/widgets/misc/e-selection-model.h
index f83d2631eb..6ab5db9ee6 100644
--- a/widgets/misc/e-selection-model.h
+++ b/widgets/misc/e-selection-model.h
@@ -76,7 +76,7 @@ void e_selection_model_do_something (ESelectionModel *esm,
guint row,
guint col,
GdkModifierType state);
-void e_selection_model_maybe_do_something (ESelectionModel *esm,
+gboolean e_selection_model_maybe_do_something (ESelectionModel *esm,
guint row,
guint col,
GdkModifierType state);