static MateVFSResult do_unlink (MateVFSMethod *method, MateVFSURI *uri, MateVFSContext *context) { PERFORM_OPERATION (unlink, mate_vfs_unlink_from_uri_cancellable (uri, context)); }
/** * mate_vfs_unlink_from_uri: * @uri: uri of the file to be unlinked. * * Unlink @uri (i.e. delete the file). * * Return value: an integer representing the result of the operation. */ MateVFSResult mate_vfs_unlink_from_uri (MateVFSURI *uri) { return mate_vfs_unlink_from_uri_cancellable (uri, NULL); }