summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fb7b063)
raw | patch | inline | side by side (parent: fb7b063)
author | theadib <theadib@users.sourceforge.net> | |
Wed, 8 Aug 2007 08:33:50 +0000 (08:33 +0000) | ||
committer | theadib <theadib@users.sourceforge.net> | |
Wed, 8 Aug 2007 08:33:50 +0000 (08:33 +0000) |
src/file.cpp | patch | blob | history |
diff --git a/src/file.cpp b/src/file.cpp
index d5f0c6f6eea5791ccc06ee688fca2942bd790877..92df5906529eb7c3bea2116ba297ea93a8a0ad9e 100644 (file)
--- a/src/file.cpp
+++ b/src/file.cpp
-#ifdef WITH_GNOME_VFS
/*
* Used only for remote saving using VFS and a specific uri. Gets the file at the /tmp.
file_save_remote(SPDocument *doc, const Glib::ustring &uri,
Inkscape::Extension::Extension *key, bool saveas, bool official)
{
+#ifdef WITH_GNOME_VFS
#define BUF_SIZE 8192
gnome_vfs_init();
}
return true;
-}
+#else
+ // in case we do not have GNOME_VFS
+ return false;
#endif
+}
+
/**
* Display a SaveAs dialog. Save the document if OK pressed.