aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-click-to-add.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-07-27 07:22:08 +0800
committerChris Lahey <clahey@src.gnome.org>2000-07-27 07:22:08 +0800
commitd1cc23165dd9f8d853b6384f038e97afcc51e22c (patch)
tree967d74a3d60b1adf61644a36f943ef6ec66c5b92 /widgets/table/e-table-click-to-add.h
parent0adf2e8584b9559fdaf185d04db2196c60949ced (diff)
downloadgsoc2013-evolution-d1cc23165dd9f8d853b6384f038e97afcc51e22c.tar.gz
gsoc2013-evolution-d1cc23165dd9f8d853b6384f038e97afcc51e22c.tar.zst
gsoc2013-evolution-d1cc23165dd9f8d853b6384f038e97afcc51e22c.zip
Added an ETableSelectionModel so this won't crash.
2000-07-26 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c, e-table-click-to-add.h: Added an ETableSelectionModel so this won't crash. svn path=/trunk/; revision=4372
Diffstat (limited to 'widgets/table/e-table-click-to-add.h')
-rw-r--r--widgets/table/e-table-click-to-add.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/table/e-table-click-to-add.h b/widgets/table/e-table-click-to-add.h
index db41303919..1dcbf9ef52 100644
--- a/widgets/table/e-table-click-to-add.h
+++ b/widgets/table/e-table-click-to-add.h
@@ -7,6 +7,7 @@
#include "e-table-header.h"
#include "e-table-sort-info.h"
#include "e-table-item.h"
+#include "e-table-selection-model.h"
#define E_TABLE_CLICK_TO_ADD_TYPE (e_table_click_to_add_get_type ())
#define E_TABLE_CLICK_TO_ADD(o) (GTK_CHECK_CAST ((o), E_TABLE_CLICK_TO_ADD_TYPE, ETableClickToAdd))
@@ -30,6 +31,8 @@ typedef struct {
gdouble width;
gdouble height;
+
+ ETableSelectionModel *selection;
} ETableClickToAdd;
typedef struct {
@@ -38,7 +41,7 @@ typedef struct {
/*
* signals
*/
- void (*row_selection) (ETableClickToAdd *etcta, gint row, gboolean selected);
+ void (*cursor_change) (ETableClickToAdd *etcta, gint row, gint col);
} ETableClickToAddClass;
GtkType e_table_click_to_add_get_type (void);