From af6115e56fddb10b0dc1dd8f38aff42754e47950 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 6 Dec 2000 18:27:41 +0000 Subject: Fixed warning in compute_elision_length. 2000-12-06 Christopher James Lahey * e-table-header-utils.c: Fixed warning in compute_elision_length. * e-table-header.c, e-table-header.h: Removed e_table_header_selection_ok method here. svn path=/trunk/; revision=6810 --- widgets/table/e-table-header.c | 16 ---------------- widgets/table/e-table-header.h | 2 -- 2 files changed, 18 deletions(-) (limited to 'widgets') diff --git a/widgets/table/e-table-header.c b/widgets/table/e-table-header.c index 8f6012bca4..20fe518122 100644 --- a/widgets/table/e-table-header.c +++ b/widgets/table/e-table-header.c @@ -257,7 +257,6 @@ e_table_header_init (ETableHeader *eth) eth->sort_info_group_change_id = 0; eth->columns = NULL; - eth->selectable = FALSE; eth->change_queue = NULL; eth->change_tail = NULL; @@ -458,21 +457,6 @@ e_table_header_get_columns (ETableHeader *eth) return ret; } -/** - * e_table_header_selection_ok: - * eth: the ETableHeader to query. - * - * Seems deprecated. - */ -gboolean -e_table_header_selection_ok (ETableHeader *eth) -{ - g_return_val_if_fail (eth != NULL, FALSE); - g_return_val_if_fail (E_IS_TABLE_HEADER (eth), FALSE); - - return eth->selectable; -} - /** * e_table_header_get_selected: * @eth: The ETableHeader to query diff --git a/widgets/table/e-table-header.h b/widgets/table/e-table-header.h index 564d4e5aa9..2c2b6266c1 100644 --- a/widgets/table/e-table-header.h +++ b/widgets/table/e-table-header.h @@ -29,7 +29,6 @@ struct _ETableHeader { int sort_info_group_change_id; ETableCol **columns; - gboolean selectable; GSList *change_queue, *change_tail; gint idle; @@ -57,7 +56,6 @@ int e_table_header_get_index_at (ETableHeader *eth, int x_offset); ETableCol **e_table_header_get_columns (ETableHeader *eth); -gboolean e_table_header_selection_ok (ETableHeader *eth); int e_table_header_get_selected (ETableHeader *eth); int e_table_header_total_width (ETableHeader *eth); void e_table_header_move (ETableHeader *eth, -- cgit