aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog3
-rw-r--r--camel/camel-internet-address.c2
-rw-r--r--camel/camel-internet-address.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index d0fd6e08f7..9a2deae312 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,8 @@
2000-04-29 Dan Winship <danw@helixcode.com>
+ * camel-internet-address.c (camel_internet_address_get): const
+ poison
+
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser):
camel_mime_parser_tell() returns an offset from where it started
diff --git a/camel/camel-internet-address.c b/camel/camel-internet-address.c
index 08fb6dfa30..564c59e93d 100644
--- a/camel/camel-internet-address.c
+++ b/camel/camel-internet-address.c
@@ -207,7 +207,7 @@ camel_internet_address_add (CamelInternetAddress *a, const char *name, const cha
* Return value: TRUE if such an address exists, or FALSE otherwise.
**/
gboolean
-camel_internet_address_get (CamelInternetAddress *a, int index, const char **namep, const char **addressp)
+camel_internet_address_get (const CamelInternetAddress *a, int index, const char **namep, const char **addressp)
{
struct _address *addr;
diff --git a/camel/camel-internet-address.h b/camel/camel-internet-address.h
index d8abe176b8..a0e6107e1b 100644
--- a/camel/camel-internet-address.h
+++ b/camel/camel-internet-address.h
@@ -45,7 +45,7 @@ guint camel_internet_address_get_type (void);
CamelInternetAddress *camel_internet_address_new (void);
int camel_internet_address_add (CamelInternetAddress *, const char *, const char *);
-gboolean camel_internet_address_get (CamelInternetAddress *, int, const char **, const char **);
+gboolean camel_internet_address_get (const CamelInternetAddress *, int, const char **, const char **);
int camel_internet_address_find_name(CamelInternetAddress *, const char *, const char **);
int camel_internet_address_find_address(CamelInternetAddress *, const char *, const char **);