summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 18cf894)
raw | patch | inline | side by side (parent: 18cf894)
author | joncruz <joncruz@users.sourceforge.net> | |
Tue, 25 Sep 2007 02:48:13 +0000 (02:48 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Tue, 25 Sep 2007 02:48:13 +0000 (02:48 +0000) |
src/color-profile-fns.h | patch | blob | history | |
src/color-profile.cpp | patch | blob | history |
index d7342b09dff020048b24e3a90a9d62c0bd470cfd..89dcfa8f9ae701e4ad304cec16e3bbe1d30a93ce 100644 (file)
--- a/src/color-profile-fns.h
+++ b/src/color-profile-fns.h
#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 a73344d1775802e74148653ac2bfb23730017671..a11aba6c4bf51bf59e3a511a946e38dcf86467bc 100644 (file)
--- 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;
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;