[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [LGI] generic question about access to methods
- From: Pavel Holejsovsky <pavel.holejsovsky@...>
- Date: Thu, 22 Nov 2012 18:54:11 +0000 (UTC)
On Thu, 22 Nov 2012 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).