summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/color-profile-fns.h2
-rw-r--r--src/color-profile.cpp4
2 files changed, 3 insertions, 3 deletions
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;