From: ishmal Date: Sun, 17 Feb 2008 20:57:44 +0000 (+0000) Subject: wrap vfs_read_callback() callback in #ifdef WITH_GNOME_VFS X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4169b5719f38a6edd1e78e51b2f9e267348a2904;p=inkscape.git wrap vfs_read_callback() callback in #ifdef WITH_GNOME_VFS --- 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