From 4169b5719f38a6edd1e78e51b2f9e267348a2904 Mon Sep 17 00:00:00 2001 From: ishmal Date: Sun, 17 Feb 2008 20:57:44 +0000 Subject: [PATCH] wrap vfs_read_callback() callback in #ifdef WITH_GNOME_VFS --- src/ui/dialog/ocaldialogs.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.30.2