Re: [gnome-db] Using the Gnome-Db API



On 7/15/05, Rodrigo Moya <rodrigo gnome-db org> wrote:
> On Thu, 2005-07-14 at 14:20 -0500, Daniel Espinosa wrote:
> > I found that in the declarations of macro for the types of the
> > objects, don't follow a convention of GLib: G_TYPE_*
> >
> > I think that following that convetion the macro defining the type of
> > the object must look like:
> >
> > #define GNOME_DB_TYPE_* ( gnome_db_*_get_type() )
> >
> > but in the libgnomedb most of the types are difined like:
> >
> > #define GNOME_DB_*_TYPE ( gnome_db_*_get_type() )
> >
> > but I think that is out of the convention of GLib declarations.
> >
> yes, they are, we should use GNOME_DB_TYPE_*. Could you provide a patch
> for changing the offending ones please?
> --

Don't bother making such a patch; I've made a tool to do it.

Vivien



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