Re: unref and free methods



On Tue, 2013-01-29 at 07:03 -0200, Conscious User wrote:
> I've noticed that PyGObject exposes unref methods
> (for example, GResource) and free methods (for
> example GdkRGBA and GtkIconInfo).
> Are those supposed to be used? Doesn't sound like
> they should, but I'm asking in case there is a
> situation where they are recommended.

I, personally, in my limited experience, have never seen them used.  Or
seen documentation indicating they should be used.

<https://live.gnome.org/GObjectIntrospection> doesn't mention those
methods [ that page lined to from the handy reference/intro page @ 
<http://worldofgnome.org/get-it-started-with-gnome-development/> ]
-- 
Adam Tauno Williams 
System Administrator, OpenGroupware Developer, LPI / CNA
Fingerprint 8C08 209A FBE3 C41A DD2F A270 2D17 8FA4 D95E D383



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