aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-selection-model.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-07-26 05:56:06 +0800
committerChris Lahey <clahey@src.gnome.org>2000-07-26 05:56:06 +0800
commit20e7e5d6502063bd4c05ffd35bc1657e6345ab94 (patch)
tree310629ee9a0dbfd56dd63394cbfb86e764fa93c2 /widgets/table/e-table-selection-model.h
parentfe4bbe19bf2bd577edbb1e3aa17a4317be55b6ed (diff)
downloadgsoc2013-evolution-20e7e5d6502063bd4c05ffd35bc1657e6345ab94.tar
gsoc2013-evolution-20e7e5d6502063bd4c05ffd35bc1657e6345ab94.tar.gz
gsoc2013-evolution-20e7e5d6502063bd4c05ffd35bc1657e6345ab94.tar.bz2
gsoc2013-evolution-20e7e5d6502063bd4c05ffd35bc1657e6345ab94.tar.lz
gsoc2013-evolution-20e7e5d6502063bd4c05ffd35bc1657e6345ab94.tar.xz
gsoc2013-evolution-20e7e5d6502063bd4c05ffd35bc1657e6345ab94.tar.zst
gsoc2013-evolution-20e7e5d6502063bd4c05ffd35bc1657e6345ab94.zip
Replaced get_selection_list with foreach.
2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c, e-table-selection-model.h: Replaced get_selection_list with foreach. * e-table.h: Add a ETableSelectionModel. svn path=/trunk/; revision=4334
Diffstat (limited to 'widgets/table/e-table-selection-model.h')
-rw-r--r--widgets/table/e-table-selection-model.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/widgets/table/e-table-selection-model.h b/widgets/table/e-table-selection-model.h
index a36f4ca03c..2aaba021f8 100644
--- a/widgets/table/e-table-selection-model.h
+++ b/widgets/table/e-table-selection-model.h
@@ -4,6 +4,7 @@
#include <gtk/gtkobject.h>
#include "widgets/e-table/e-table-model.h"
+#include "widgets/e-table/e-table-defines.h"
#define E_TABLE_SELECTION_MODEL_TYPE (e_table_selection_model_get_type ())
#define E_TABLE_SELECTION_MODEL(o) (GTK_CHECK_CAST ((o), E_TABLE_SELECTION_MODEL_TYPE, ETableSelectionModel))
@@ -45,8 +46,10 @@ typedef struct {
GtkType e_table_selection_model_get_type (void);
gboolean e_table_selection_model_is_row_selected (ETableSelectionModel *selection,
- int n);
-GList *e_table_selection_model_get_selection_list (ETableSelectionModel *selection);
+ guint n);
+void e_table_selection_model_foreach (ETableSelectionModel *selection,
+ ETableForeachFunc callback,
+ gpointer closure);
ETableSelectionModel *e_table_selection_model_new (void);