summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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