From: joncruz Date: Sat, 6 Dec 2008 20:30:18 +0000 (+0000) Subject: Removed warning for expected condition. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4ce6e515bed60c1fd2bcacfee061ec18a3c015bd;p=inkscape.git Removed warning for expected condition. --- diff --git a/src/color-profile.cpp b/src/color-profile.cpp index 52a432192..513e15e78 100644 --- a/src/color-profile.cpp +++ b/src/color-profile.cpp @@ -254,10 +254,10 @@ void ColorProfile::set( SPObject *object, unsigned key, gchar const *value ) //# 1. Get complete URI of document gchar const *docbase = SP_DOCUMENT_URI( doc ); if (!docbase) - { - g_warning("null docbase"); + { + // Normal for files that have not yet been saved. docbase = ""; - } + } //g_message("docbase:%s\n", docbase); org::w3c::dom::URI docUri(docbase); //# 2. Get href of icc file. we don't care if it's rel or abs