Re: Patch to fix #314139 [REVISION PROPOSAL]



On Wed, 2006-06-14 at 01:39 +0300, Sivan Greenberg wrote:
> 
> Cool, so should I just aim to use stock sync and cached up file access
> functions from gnome-vfs ? (I understand from that you are suggesting
> to
> refrain from using the sync func of nautilus-io)

You might as well use g_stat() if you're working on local files only.
Just get a path with gnome_vfs_get_local_path_from_uri(). (This is also
an automatic check for local files, since it returns NULL for other
uris.)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a suicidal pirate barbarian with a robot buddy named Sparky. She's a 
manipulative bisexual college professor from a different time and place. They 
fight crime! 




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