PATCH: fix KVP bug/allow gnc_numeric to be a GBoxed value
Daniel Espinosa
esodan at gmail.com
Fri Apr 13 17:47:05 EDT 2007
2007/4/13, Derek Atkins <warlord at mit.edu>:
> "Daniel Espinosa" <esodan at gmail.com> writes:
>
> > Derek:
> > I have added some types declared in gnc-engine.h file as string to
> > GType in my gobject-engine-dev, like the one for gnc_numeric Phil
> > does, then this could be added to your branch with out alter the
> > system, and could help Phil in he's branch.
>
> I don't see anything that you added that I haven't also added...
> Could you point me to the specific things that you added that I did
> not? Keep in mind that one difference between methods is that I put
> the GType info into the individual header files instead of a central
> location.
>
I have added as GType the following:
GUID
KVP
QofCollection (as a direct GObject derived class)
All other types in QOF has an equivalent one to GType: string, string,
date, numeric, gint32, int64, double, boolean, and character.
All this types are listed in /iib/libqof/qof/qofobject.h file.
and a type for GLIst, becouse it doesn't have a GType (isn't defined in GLib).
May be in the future, when all GC objects will be GObject, we can
change the KVP value to use GValue and deprecate all defunctions
repeated by KVP's API.
--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (entrámite, pero para los
cuates: LIBRE)
More information about the gnucash-devel
mailing list