Re: [Thunar-dev] [thunar-vfs] Can ThunarVfsPath be safely unref-ed after creating ThunarVfsInfo object?

2006-12-25 Thread Brian J. Tarricone
Stephan Arts wrote:
> Hi,
> 
> I am integrating file-properties support into squeeze, but i am not
> real sure what i should do here.
> 
> I understand a ThunarVfsPath object is required to create a
> ThunarVfsInfo object. (which i like to have), but is it safe to unref
> the ThunarVfsPath object afterwards?

Yup.  That's kinda the point of reference counting.  You can release 
your reference (assuming you own one) whenever *you* are done with it. 
If another piece of code (say, the ThunarVfsInfo creation code) needs a 
reference, it'll take one itself.

-brian


___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


[Thunar-dev] [thunar-vfs] Can ThunarVfsPath be safely unref-ed after creating ThunarVfsInfo object?

2006-12-25 Thread Stephan Arts
Hi,

I am integrating file-properties support into squeeze, but i am not
real sure what i should do here.

I understand a ThunarVfsPath object is required to create a
ThunarVfsInfo object. (which i like to have), but is it safe to unref
the ThunarVfsPath object afterwards?

Regards,

Stephan
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev