aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lahey <clahey@src.gnome.org>2000-11-04 05:00:47 +0800
committerChris Lahey <clahey@src.gnome.org>2000-11-04 05:00:47 +0800
commite18070f31cfa6cd92181f96012242ac6793a7ca8 (patch)
tree5f5a0cc80203660fbf94f860c4e42cf7d8691ff6
parentf2b590b943ba31e56f83aad26864ae2f6210456a (diff)
downloadgsoc2013-evolution-e18070f31cfa6cd92181f96012242ac6793a7ca8.tar
gsoc2013-evolution-e18070f31cfa6cd92181f96012242ac6793a7ca8.tar.gz
gsoc2013-evolution-e18070f31cfa6cd92181f96012242ac6793a7ca8.tar.bz2
gsoc2013-evolution-e18070f31cfa6cd92181f96012242ac6793a7ca8.tar.lz
gsoc2013-evolution-e18070f31cfa6cd92181f96012242ac6793a7ca8.tar.xz
gsoc2013-evolution-e18070f31cfa6cd92181f96012242ac6793a7ca8.tar.zst
gsoc2013-evolution-e18070f31cfa6cd92181f96012242ac6793a7ca8.zip
Made it compile again.
svn path=/trunk/; revision=6376
-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);
}
}
}