Exemplo n.º 1
0
static GnomeVFSFileInfo *
gnome_vfs_file_info_ref_fix(gpointer boxed)
{
	GnomeVFSFileInfo *info;

	info = (GnomeVFSFileInfo *)boxed;
	gnome_vfs_file_info_ref(info);
	return info;
}
Exemplo n.º 2
0
GnomeVFSFileInfo *la_track_get_vfs_info(LaTrack * self)
{
    if (!self->vfs_info) {
	self->vfs_info = gnome_vfs_file_info_new();
	gnome_vfs_get_file_info(self->uri, self->vfs_info,
				GNOME_VFS_FILE_INFO_GET_MIME_TYPE
				| GNOME_VFS_FILE_INFO_FOLLOW_LINKS);
    }
    gnome_vfs_file_info_ref(self->vfs_info);
    return self->vfs_info;
}