[gnome-db] gda_data_model_import_new_mem() gives errors



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]