From e18070f31cfa6cd92181f96012242ac6793a7ca8 Mon Sep 17 00:00:00 2001 From: Chris Lahey Date: Fri, 3 Nov 2000 21:00:47 +0000 Subject: Made it compile again. svn path=/trunk/; revision=6376 --- widgets/table/e-table-selection-model.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets/table') diff --git a/widgets/table/e-table-selection-model.c b/widgets/table/e-table-selection-model.c index 1d7957e003..e8f5dcd38f 100644 --- a/widgets/table/e-table-selection-model.c +++ b/widgets/table/e-table-selection-model.c @@ -57,7 +57,7 @@ model_row_inserted(ETableModel *etm, int row, ETableSelectionModel *etsm) if(etsm->row_count >= 0) { /* Add another word if needed. */ if ((etsm->row_count & 0x1f) == 0) { - etsm->selection = g_renew(etsm->selection, gint, (etsm->row_count >> 5) + 1); + etsm->selection = g_renew(gint, etsm->selection, (etsm->row_count >> 5) + 1); etsm->selection[etsm->row_count >> 5] = 0; } @@ -102,7 +102,7 @@ model_row_deleted(ETableModel *etm, int row, ETableSelectionModel *etsm) etsm->row_count --; /* Remove the last word if not needed. */ if ((etsm->row_count & 0x1f) == 0) { - etsm->selection = g_renew(etsm->selection, gint, etsm->row_count >> 5); + etsm->selection = g_renew(gint, etsm->selection, etsm->row_count >> 5); } } } -- cgit