gitypelib: Switch to refcounting
Since GITypelib
is exposed in the public libgirepository API, it needs
to be a boxed type. So we either need to add a copy
method to mirror
the existing free
method, or switch to refcounting. The latter option
seems better, since a GITypelib
contains internal state about open
GModule
s and the semantics for copying that would be potentially
complex.
This also then adds a boxed type for GITypelib
for the same reasons.
Signed-off-by: Philip Withnall pwithnall@gnome.org
Helps: #3155 (closed)