aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-util.c2
-rw-r--r--e-util/e-util.c-86112
-rw-r--r--e-util/e-util.h4
-rw-r--r--e-util/e-util.h-290024
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,