summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2008-02-17 20:57:44 +0000
committerishmal <ishmal@users.sourceforge.net>2008-02-17 20:57:44 +0000
commit7a55e492347c5218d5fe7c7f076154bd2e9c661c (patch)
treec20d08064b58fd517bb4d64734e0713081a92bbf /src
parent* [INTL: en_GB] British English update by Tim Sheridan (diff)
downloadinkscape-7a55e492347c5218d5fe7c7f076154bd2e9c661c.tar.gz
inkscape-7a55e492347c5218d5fe7c7f076154bd2e9c661c.zip
wrap vfs_read_callback() callback in #ifdef WITH_GNOME_VFS
(bzr r4758)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/ocaldialogs.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/dialog/ocaldialogs.cpp b/src/ui/dialog/ocaldialogs.cpp
index 09eb96191..7d56470a8 100644
--- a/src/ui/dialog/ocaldialogs.cpp
+++ b/src/ui/dialog/ocaldialogs.cpp
@@ -382,6 +382,8 @@ Glib::ustring FileListViewText::getFilename()
return myFilename;
}
+
+#ifdef WITH_GNOME_VFS
/**
* Read callback for xmlReadIO(), used below
*/
@@ -402,6 +404,8 @@ static int vfs_read_callback (GnomeVFSHandle *handle, char* buf, int nb)
return -1;
}
}
+#endif
+
/**
* Callback for user input into searchTagEntry
@@ -477,6 +481,7 @@ void FileImportFromOCALDialog::searchTagEntryChangedCallback()
#endif
}
+
/**
* Prints the names of the all the xml elements
* that are siblings or children of a given xml node