-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Vivien, Vivien Malerba wrote: > > > There is no reason the default GdaDataModel iter's implementation should > not work. Can you send me a standalone version of your code so I can try > to figure out what the problem is? > > Anyway, even though the GdaDataModelIter is not an interface, you can > still subclass it if you need, and then implement the > GdaDataModel::i_create_iter method to instanciate your own GdaDataModelIter. > sure here it is. Just compile and execute with gcc gda-data-model-concat.c example.c `pkg-config --cflags --libs libgda-4.0` `pkg-config --cflags --libs glib-2.0` -o example && ./example As you see from the example, I first try to use the GdaDataModelIter, unsuccesfully, secondly I just try to query the items directly from the GdaDataModelConcat, successfully. Honestly I didn't get why gda-data-model has a virtual method gda_data_model_iter_at_row, which seems to be implemented in GdaDataSelect but with too much logic. thanks and regards, Massimo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpkczgACgkQcfVTgMRILk0UIwCfYZB6a6JttYIbrn3IhE9AnpuI pU4AnidVpMDejtffrdyM9n7FyiGRPPDB =U+iK -----END PGP SIGNATURE-----
Attachment:
libgda-extra.tar.bz2
Description: application/bzip