From dd65b18ddf2f4e7fdc108b0ed147658c36103eea Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 7 Dec 2009 17:20:49 -0500 Subject: Kill ETableScrolled. ETableScrolled is nothing but a GtkScrolledWindow containing an ETable. It adds nothing of value and actually makes customizing ETable harder. --- calendar/gui/e-memo-table.h | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'calendar/gui/e-memo-table.h') diff --git a/calendar/gui/e-memo-table.h b/calendar/gui/e-memo-table.h index d7f1857374..4d4347db4a 100644 --- a/calendar/gui/e-memo-table.h +++ b/calendar/gui/e-memo-table.h @@ -25,9 +25,9 @@ #ifndef _E_MEMO_TABLE_H_ #define _E_MEMO_TABLE_H_ -#include -#include +#include
#include
+#include #include "e-cal-model.h" /* @@ -65,9 +65,7 @@ typedef struct _EMemoTableClass EMemoTableClass; typedef struct _EMemoTablePrivate EMemoTablePrivate; struct _EMemoTable { - GtkTable parent; - - GtkWidget *etable; + ETable parent; /* The ECell used to view & edit dates. */ ECellDateEdit *dates_cell; @@ -79,7 +77,7 @@ struct _EMemoTable { }; struct _EMemoTableClass { - GtkTableClass parent_class; + ETableClass parent_class; /* Signals */ void (*open_component) (EMemoTable *memo_table, @@ -96,7 +94,6 @@ GType e_memo_table_get_type (void); GtkWidget * e_memo_table_new (EShellView *shell_view, ECalModel *model); ECalModel * e_memo_table_get_model (EMemoTable *memo_table); -ETable * e_memo_table_get_table (EMemoTable *memo_table); EShellView * e_memo_table_get_shell_view (EMemoTable *memo_table); icaltimezone * e_memo_table_get_timezone (EMemoTable *memo_table); void e_memo_table_set_timezone (EMemoTable *memo_table, @@ -114,13 +111,6 @@ void e_memo_table_cut_clipboard (EMemoTable *memo_table); void e_memo_table_copy_clipboard (EMemoTable *memo_table); void e_memo_table_paste_clipboard (EMemoTable *memo_table); -/* These load and save the state of the table (headers shown etc.) to/from - the given file. */ -void e_memo_table_load_state (EMemoTable *memo_table, - const gchar *filename); -void e_memo_table_save_state (EMemoTable *memo_table, - const gchar *filename); - G_END_DECLS #endif /* _E_MEMO_TABLE_H_ */ -- cgit v1.2.3