aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-selection-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-selection-model.c')
-rw-r--r--widgets/table/e-table-selection-model.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}
}