From 8600d3c20533b3f1bc8b48ffe5253032cb339173 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 11 Sep 2000 18:45:32 +0000 Subject: The return value should not be const. (Well, unless the input was, but you * e-util.c (e_strstrcase): The return value should not be const. (Well, unless the input was, but you can't know that.) svn path=/trunk/; revision=5338 --- e-util/ChangeLog | 5 +++++ e-util/e-util.c | 2 +- e-util/e-util.c-8611 | 2 +- e-util/e-util.h | 4 ++-- e-util/e-util.h-29002 | 4 ++-- 5 files changed, 11 insertions(+), 6 deletions(-) (limited to 'e-util') diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 1f09bd1ec7..d1e371d851 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +2000-09-11 Dan Winship + + * e-util.c (e_strstrcase): The return value should not be + const. (Well, unless the input was, but you can't know that.) + 2000-09-11 Christopher James Lahey * e-unicode.c, e-unicode.h: Added e_utf8_gtk_editable_get_text and diff --git a/e-util/e-util.c b/e-util/e-util.c index 90a5697fb0..dbe0448ee1 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -450,7 +450,7 @@ e_strsplit (const gchar *string, return str_array; } -const gchar * +gchar * e_strstrcase (const gchar *haystack, const gchar *needle) { /* find the needle in the haystack neglecting case */ diff --git a/e-util/e-util.c-8611 b/e-util/e-util.c-8611 index 90a5697fb0..dbe0448ee1 100644 --- a/e-util/e-util.c-8611 +++ b/e-util/e-util.c-8611 @@ -450,7 +450,7 @@ e_strsplit (const gchar *string, return str_array; } -const gchar * +gchar * e_strstrcase (const gchar *haystack, const gchar *needle) { /* find the needle in the haystack neglecting case */ diff --git a/e-util/e-util.h b/e-util/e-util.h index 87af6032c2..e8a52e8d62 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -49,8 +49,8 @@ gchar **e_strsplit (const gchar *string, const gchar *delimiter, gint max_tokens); -const gchar *e_strstrcase (const gchar *haystack, - const gchar *needle); +gchar *e_strstrcase (const gchar *haystack, + const gchar *needle); void e_marshal_INT__INT_INT_POINTER (GtkObject * object, GtkSignalFunc func, diff --git a/e-util/e-util.h-29002 b/e-util/e-util.h-29002 index 87af6032c2..e8a52e8d62 100644 --- a/e-util/e-util.h-29002 +++ b/e-util/e-util.h-29002 @@ -49,8 +49,8 @@ gchar **e_strsplit (const gchar *string, const gchar *delimiter, gint max_tokens); -const gchar *e_strstrcase (const gchar *haystack, - const gchar *needle); +gchar *e_strstrcase (const gchar *haystack, + const gchar *needle); void e_marshal_INT__INT_INT_POINTER (GtkObject * object, GtkSignalFunc func, -- cgit v1.2.3