diff options
author | Dan Winship <danw@src.gnome.org> | 2000-09-12 02:45:32 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-09-12 02:45:32 +0800 |
commit | 8600d3c20533b3f1bc8b48ffe5253032cb339173 (patch) | |
tree | b20aeee7dac018790634e847961cf93600fd2a2c /e-util | |
parent | 468e4623f182273684ff73229df3a4e4d26250d0 (diff) | |
download | gsoc2013-evolution-8600d3c20533b3f1bc8b48ffe5253032cb339173.tar.gz gsoc2013-evolution-8600d3c20533b3f1bc8b48ffe5253032cb339173.tar.zst gsoc2013-evolution-8600d3c20533b3f1bc8b48ffe5253032cb339173.zip |
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
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/ChangeLog | 5 | ||||
-rw-r--r-- | e-util/e-util.c | 2 | ||||
-rw-r--r-- | e-util/e-util.c-8611 | 2 | ||||
-rw-r--r-- | e-util/e-util.h | 4 | ||||
-rw-r--r-- | e-util/e-util.h-29002 | 4 |
5 files changed, 11 insertions, 6 deletions
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 <danw@helixcode.com> + + * 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 <clahey@helixcode.com> * 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, |