GnomeVFSFileInfo usage

Is it categorically incorrect to attempt to use GnomeVFSFileInfo as an
automatic variable (rather than using gnome_vfs_file_info_new)?

I just need to get the MIME type of a file. So I just need to have the
GnomeVFSFileInfo instance, call gnome_vfs_get_file_info_from_handle, and
get the MIME type. (At least, that's my impression.) If I can't use the
automatic variable, is there anything I need to do with the refcounting

Braden McDaniel                           e-mail: <braden endoframe com>
<>                    Jabber: <braden jabber org>

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