From: JazzyNico Date: Mon, 31 Jan 2011 21:29:13 +0000 (+0100) Subject: OCAL. Fix for Bug #638844 (Errors printed to console if openclipart search fails). X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5d7c0d9429969cd5c5cd253e48a5fbd602c3e196;p=inkscape.git OCAL. Fix for Bug #638844 (Errors printed to console if openclipart search fails). --- diff --git a/src/ui/dialog/ocaldialogs.cpp b/src/ui/dialog/ocaldialogs.cpp index d3887b1ca..2ae7d6989 100644 --- a/src/ui/dialog/ocaldialogs.cpp +++ b/src/ui/dialog/ocaldialogs.cpp @@ -470,7 +470,7 @@ void FileImportFromOCALDialog::searchTagEntryChangedCallback() doc = xmlReadIO ((xmlInputReadCallback) vfs_read_callback, (xmlInputCloseCallback) gnome_vfs_close, from_handle, uri.c_str(), NULL, - XML_PARSE_RECOVER); + XML_PARSE_RECOVER + XML_PARSE_NOWARNING + XML_PARSE_NOERROR); if (doc == NULL) { sp_ui_error_dialog(_("Server supplied malformed Clip Art feed")); g_warning("Failed to parse %s\n", uri.c_str());