From fd40e93f412b9429ac7d3ed1fe91fc18d064305d Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 26 Jun 2013 17:28:56 -0400 Subject: ETaskShellContent: Remove hard-coded default table state. I don't remember why E_TASK_TABLE_DEFAULT_STATE was needed when e-calendar-table.etspec already specifies a default ETableState. Some of the column numbers it was referencing weren't even valid. Removing it seems to make no difference in Evolution. --- modules/calendar/e-task-shell-content.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'modules') diff --git a/modules/calendar/e-task-shell-content.c b/modules/calendar/e-task-shell-content.c index 7bfb5b741f..c4fa849609 100644 --- a/modules/calendar/e-task-shell-content.c +++ b/modules/calendar/e-task-shell-content.c @@ -37,16 +37,6 @@ (G_TYPE_INSTANCE_GET_PRIVATE \ ((obj), E_TYPE_TASK_SHELL_CONTENT, ETaskShellContentPrivate)) -#define E_TASK_TABLE_DEFAULT_STATE \ - "" \ - "" \ - " " \ - " " \ - " " \ - " " \ - " " \ - "" - struct _ETaskShellContentPrivate { GtkWidget *paned; GtkWidget *task_table; @@ -515,11 +505,6 @@ task_shell_content_constructed (GObject *object) widget, "visible", G_BINDING_SYNC_CREATE); - /* Configure the task table. */ - - e_table_set_state ( - E_TABLE (priv->task_table), E_TASK_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