[Thunar-dev] ThunarVfsInfo: Bug in thunar_vfs_info_new_for_path?

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Wed Feb 1 14:40:28 CET 2006


Jannis Pohlmann wrote:
> Hey Benny,

Hey Jannis,

> So, basically, I create a new ThunarVfsPath object from argv[1] and try
> to acquire the ThunarVfsInfo based on it. What I noticed now is that the
> path data is lost after the thunar_vfs_info_new_for_path call. Here's
> the output:
> 
>   jannis at nebelsee ~/Projects/Aye/src>./aye /tmp/XmlIniFile.html
>   Path name (before info): XmlIniFile.html
>   Path name (after info):
>   Path name (after path unref):
> 
> The file /tmp/XmlIniFile.html exists and the GError variable 'error' is
> NULL, even after the initialization of file_info; so I guess this may be
> a bug.
> 
> Any ideas?

I cannot reproduce your problem. Attached is a complete example, please
check if that works.

> Regards,
> Jannis

Benedikt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 924 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20060201/81054edf/attachment.c>


More information about the Thunar-dev mailing list