Re: [gnome-db] libgda: Take class hierarchy into account in gda_dict_declare_object?

On 1/12/07, Armin Burgmeier <armin arbur net> wrote:
On Fri, 2007-01-12 at 11:48 +0100, Vivien Malerba wrote:
> You can try to change gda_dict_declare_object() in gda-query.c with
> gda_dict_declare_object_as() specifying GDA_TYPE_QUERY as the last
> argument. This causes GdaDict to take the specified data type instead
> of the one determined by the object itself (which is obviously not
> GDA_TYPE_QUERY if you subclass it). This is done for the GdaGraphQuery
> object which registers itself as a GDA_TYPE_GRAPH.
> Tell me if it works.

It seems to work. I attached a patch to a newly-opened bug:

Thanks, I've committed the changes (except for a small part).



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