diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-cell.c | 4 | ||||
-rw-r--r-- | widgets/table/e-table-header-item.c | 12 | ||||
-rw-r--r-- | widgets/table/e-table-subset.c | 2 |
3 files changed, 12 insertions, 6 deletions
diff --git a/widgets/table/e-cell.c b/widgets/table/e-cell.c index 2d59df19da..79f0a0e9bd 100644 --- a/widgets/table/e-cell.c +++ b/widgets/table/e-cell.c @@ -178,7 +178,7 @@ e_cell_new_view (ECell *ecell, ETableModel *table_model, void *e_table_item_view void e_cell_realize (ECellView *ecell_view) { - return E_CELL_CLASS (GTK_OBJECT (ecell_view->ecell)->klass)->realize (ecell_view); + E_CELL_CLASS (GTK_OBJECT (ecell_view->ecell)->klass)->realize (ecell_view); } /** @@ -349,6 +349,6 @@ void e_cell_show_tooltip (ECellView *ecell_view, int model_col, int view_col, int row, int col_width, ETableTooltip *tooltip) { - return E_CELL_CLASS (GTK_OBJECT (ecell_view->ecell)->klass)->show_tooltip + E_CELL_CLASS (GTK_OBJECT (ecell_view->ecell)->klass)->show_tooltip (ecell_view, model_col, view_col, row, col_width, tooltip); } diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index 35fb279b1c..f811b3c04b 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/table/e-table-header-item.c @@ -1087,7 +1087,9 @@ ethi_popup_sort_ascending(GtkWidget *widget, EthiHeaderInfo *info) } } if (!found) { - ETableSortColumn column = { model_col, 1 }; + ETableSortColumn column; + column.column = model_col; + column.ascending = 1; length = e_table_sort_info_sorting_get_count(ethi->sort_info); if (length == 0) length++; @@ -1137,7 +1139,9 @@ ethi_popup_sort_descending(GtkWidget *widget, EthiHeaderInfo *info) } } if (!found) { - ETableSortColumn column = { model_col, 0 }; + ETableSortColumn column; + column.column = model_col; + column.ascending = 0; length = e_table_sort_info_sorting_get_count (ethi->sort_info); if (length == 0) length++; @@ -1355,7 +1359,9 @@ ethi_change_sort_state (ETableHeaderItem *ethi, gdouble x) } if (!found) { - ETableSortColumn column = { model_col, 1 }; + ETableSortColumn column; + column.column = model_col; + column.ascending = 1; length = e_table_sort_info_sorting_get_count(ethi->sort_info); if (length == 0) length++; diff --git a/widgets/table/e-table-subset.c b/widgets/table/e-table-subset.c index 2907698fc7..4edb093d26 100644 --- a/widgets/table/e-table-subset.c +++ b/widgets/table/e-table-subset.c @@ -92,7 +92,7 @@ etss_set_value_at (ETableModel *etm, int col, int row, const void *val) etss->last_access = row; d(g_print("h) Setting last_access to %d\n", row)); - return e_table_model_set_value_at (etss->source, col, etss->map_table [row], val); + e_table_model_set_value_at (etss->source, col, etss->map_table [row], val); } static gboolean |