From: joncruz Date: Fri, 2 May 2008 06:22:41 +0000 (+0000) Subject: Const cleanup on strings. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e06eadaa4386ea49a02efc71d893cb6eeaa09581;p=inkscape.git Const cleanup on strings. --- diff --git a/src/main.cpp b/src/main.cpp index 46d3082f1..01406cc20 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -411,7 +411,7 @@ struct poptOption options[] = { }; static bool needToRecodeParams = true; -gchar* blankParam = ""; +gchar const* blankParam = ""; #ifdef WIN32 static int _win32_set_inkscape_env(char *argv0) diff --git a/src/ui/dialog/aboutbox.cpp b/src/ui/dialog/aboutbox.cpp index d981d48ce..9a17ed20c 100644 --- a/src/ui/dialog/aboutbox.cpp +++ b/src/ui/dialog/aboutbox.cpp @@ -356,7 +356,7 @@ void AboutBox::initStrings() { * This list is copied from the TRANSLATORS file. It should * be periodically updated. */ - gchar *allTranslators = + gchar const *allTranslators = "3ARRANO.com <3arrano@3arrano.com>, 2005.\n" "Adib Taraben , 2004.\n" "Alastair McKinstry , 2000.\n"