[gnome-db] gda_data_model_import_new_mem() gives errors
- From: Sumit Kumar Jain <sumitskj_20 yahoo com>
- To: gnome-db-list gnome org
- Subject: [gnome-db] gda_data_model_import_new_mem() gives errors
- Date: Tue, 27 Nov 2007 20:28:05 -0800 (PST)
Hi,
I am trying to use gda_data_model_import_new_mem() and i am getting the following error
(TestGDA:5755): GLib-GObject-WARNING **: IA__g_object_new_valist: object class `GdaDataModelImport' has no property named `data'
The following the code snippet
------------------------------------------------------------------------------------------------------------------------
int main()
{
const gchar *string = "a,b,c,d,e,f";
GdaParameterList *paramlist;
GdaParameter *param;
GSList *list;
gda_init ("TestGDA", NULL, 0,
NULL);
param = gda_parameter_new_string("SEPARATOR",",");
list = g_slist_append(NULL,param);
paramlist = gda_parameter_list_new(list);
GdaDataModel *model1 = gda_data_model_import_new_mem("a|b|c|d|e|f",TRUE,paramlist);
return 0;
}
-------------------------------------------------------------------------------------------------------------------
I am not able to figure out as to why i am getting this error. Looking at the documentation, looks that i am using the function correctly. Any pointers as to reason of error. Any help !!!
Thanks in advance.
Thanks & Regards,
Sumit
Chat on a cool, new interface. No download required.
Click here.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]