From 56423e3ec2bbcbab537c199c0ffea9cd5277b2e3 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 26 Jun 2013 17:23:33 -0400 Subject: EMemoShellContent: Remove hard-coded default table state. I don't remember why E_MEMO_TABLE_DEFAULT_STATE was needed when e-memo-table.etspec already specifies a default ETableState. Removing it seems to make no difference in Evolution. --- modules/calendar/e-memo-shell-content.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/modules/calendar/e-memo-shell-content.c b/modules/calendar/e-memo-shell-content.c index ded7e8af67..3df2c424ee 100644 --- a/modules/calendar/e-memo-shell-content.c +++ b/modules/calendar/e-memo-shell-content.c @@ -38,15 +38,6 @@ (G_TYPE_INSTANCE_GET_PRIVATE \ ((obj), E_TYPE_MEMO_SHELL_CONTENT, EMemoShellContentPrivate)) -#define E_MEMO_TABLE_DEFAULT_STATE \ - "" \ - "" \ - " " \ - " " \ - " " \ - " " \ - "" - struct _EMemoShellContentPrivate { GtkWidget *paned; GtkWidget *memo_table; @@ -515,11 +506,6 @@ memo_shell_content_constructed (GObject *object) widget, "visible", G_BINDING_SYNC_CREATE); - /* Configure the memo table. */ - - e_table_set_state ( - E_TABLE (priv->memo_table), E_MEMO_TABLE_DEFAULT_STATE); - target_list = gtk_target_list_new (NULL, 0); e_target_list_add_calendar_targets (target_list, 0); targets = gtk_target_table_new_from_list (target_list, &n_targets); -- cgit v1.2.3