From: joncruz Date: Tue, 25 Sep 2007 02:48:13 +0000 (+0000) Subject: Fixed const X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f52d62a03e381028936165e266f879744bbafc0c;p=inkscape.git Fixed const --- diff --git a/src/color-profile-fns.h b/src/color-profile-fns.h index d7342b09d..89dcfa8f9 100644 --- a/src/color-profile-fns.h +++ b/src/color-profile-fns.h @@ -25,7 +25,7 @@ GType colorprofile_get_type(); #if ENABLE_LCMS -cmsHPROFILE colorprofile_get_handle( SPDocument* document, guint* intent, gchar* const name ); +cmsHPROFILE colorprofile_get_handle( SPDocument* document, guint* intent, gchar const* name ); #endif diff --git a/src/color-profile.cpp b/src/color-profile.cpp index a73344d17..a11aba6c4 100644 --- a/src/color-profile.cpp +++ b/src/color-profile.cpp @@ -319,7 +319,7 @@ static Inkscape::XML::Node* Inkscape::colorprofile_write( SPObject *object, Inks #if ENABLE_LCMS -static SPObject* bruteFind( SPObject* curr, gchar* const name ) +static SPObject* bruteFind( SPObject* curr, gchar const* name ) { SPObject* result = 0; @@ -347,7 +347,7 @@ static SPObject* bruteFind( SPObject* curr, gchar* const name ) return result; } -cmsHPROFILE Inkscape::colorprofile_get_handle( SPDocument* document, guint* intent, gchar* const name ) +cmsHPROFILE Inkscape::colorprofile_get_handle( SPDocument* document, guint* intent, gchar const* name ) { cmsHPROFILE prof = 0;