[libgda/LIBGDA_4.0] Corrections due to the API not present in 4.0



commit 3310da1faa20b2721fdadc93f0c7d0933e095869
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sun Jan 24 18:15:49 2010 +0100

    Corrections due to the API not present in 4.0

 tests/data-models/.gitignore           |    3 ++-
 tests/data-models/check_model_errors.c |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tests/data-models/.gitignore b/tests/data-models/.gitignore
index d83ebbd..f21f8d3 100644
--- a/tests/data-models/.gitignore
+++ b/tests/data-models/.gitignore
@@ -4,4 +4,5 @@ check_data_proxy
 check_model_copy
 check_pmodel
 check_empty_rs
-*.db
\ No newline at end of file
+check_model_errors
+*.db
diff --git a/tests/data-models/check_model_errors.c b/tests/data-models/check_model_errors.c
index f471092..88acc78 100644
--- a/tests/data-models/check_model_errors.c
+++ b/tests/data-models/check_model_errors.c
@@ -79,7 +79,7 @@ check_iter_contents (GdaDataModel *model, GdaDataModelIter *iter)
 		GdaHolder *holder;
 		const GValue *vi, *vm;
 
-		holder = gda_set_get_nth_holder (GDA_SET (iter), i);
+		holder = GDA_HOLDER (g_slist_nth_data (GDA_SET (iter)->holders, i));
 		if (gda_holder_is_valid (holder))
 			vi = gda_holder_get_value (holder);
 		else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]