index 575197fee3109deef8efe245edd39aef92dc4786..9363974801a4e25312e22fa9f9b0a1fbec6e676a 100644 (file)
-static SPObject *sp_gradient_load_from_svg(gchar const *name, SPDocument *current_doc);
-static SPObject *sp_marker_load_from_svg(gchar const *name, SPDocument *current_doc);
-static SPObject *sp_gradient_load_from_svg(gchar const *name, SPDocument *current_doc);
+static SPObject *sp_gradient_load_from_svg(gchar const *name, Document *current_doc);
+static SPObject *sp_marker_load_from_svg(gchar const *name, Document *current_doc);
+static SPObject *sp_gradient_load_from_svg(gchar const *name, Document *current_doc);
// FIXME: these should be merged with the icon loading code so they
// take the dir to look in, and the file to check for, and cache
// against that, rather than the existing copy/paste code seen here.
-static SPObject * sp_marker_load_from_svg(gchar const *name, SPDocument *current_doc)
+static SPObject * sp_marker_load_from_svg(gchar const *name, Document *current_doc)
{
- static SPDocument *doc = NULL;
+ static Document *doc = NULL;
static unsigned int edoc = FALSE;
if (!current_doc) {
return NULL;
static SPObject *
-sp_pattern_load_from_svg(gchar const *name, SPDocument *current_doc)
+sp_pattern_load_from_svg(gchar const *name, Document *current_doc)
{
- static SPDocument *doc = NULL;
+ static Document *doc = NULL;
static unsigned int edoc = FALSE;
if (!current_doc) {
return NULL;
static SPObject *
-sp_gradient_load_from_svg(gchar const *name, SPDocument *current_doc)
+sp_gradient_load_from_svg(gchar const *name, Document *current_doc)
{
- static SPDocument *doc = NULL;
+ static Document *doc = NULL;
static unsigned int edoc = FALSE;
if (!current_doc) {
return NULL;
gchar * base = g_strndup(e, a);
SPDesktop *desktop = inkscape_active_desktop();
- SPDocument *doc = sp_desktop_document(desktop);
+ Document *doc = sp_desktop_document(desktop);
SPDefs *defs= (SPDefs *) SP_DOCUMENT_DEFS(doc);
SPObject *object = NULL;
else {
SPDesktop *desktop = inkscape_active_desktop();
- SPDocument *doc = sp_desktop_document(desktop);
+ Document *doc = sp_desktop_document(desktop);
SPObject *object = doc->getObjectById(urn);
return object;