Logo Search packages:      
Sourcecode: inkscape version File versions

void sp_document_set_uri ( SPDocument document,
gchar const *  filename 
)

Sets base, name and uri members of document. Doesn't update any relative hrefs in the document: thus, this is primarily for newly-created documents.

See also:
sp_document_change_uri_and_hrefs

Definition at line 665 of file document.cpp.

Referenced by Inkscape::Extension::open().

{
    g_return_if_fail(document != NULL);

    do_change_uri(document, filename, false);
}


Generated by  Doxygen 1.6.0   Back to index