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
This commit is contained in:

committed by
Chris Lahey

parent
0adf2e8584
commit
d1cc23165d
@ -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);
|
||||
|
Reference in New Issue
Block a user