Re: [LGI] generic question about access to methods
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [LGI] generic question about access to methods
- From: Pavel Holejsovsky <pavel.holejsovsky@...>
- Date: 2012年11月22日 18:54:11 +0000 (UTC)
On 2012年11月22日 16:50:46 +0100, Pavel Holejsovsky wrote:
> 2) It will still not work, it will crash instead. GKeyFile is an
> ancient API, and it is not introspection-friendly, because it is neither
> GObject-based object nor GBoxed struct - this means that introspection
> clients do not know how to handle lifetime of this object.
I realized that I was wrong. GKeyFile became boxed (and thus usable out
of the box) in glib 2.32 (which corresponds to GNOME3.4). This means
that GKeyFile is most probably usable out of the box (given that your
glib is new enough).
Pavel