From 6eee4ba248ca7eb84d5ef89c83c78ce9f8a61027 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sat, 29 Apr 2000 15:57:54 +0000 Subject: const poison * camel-internet-address.c (camel_internet_address_get): const poison svn path=/trunk/; revision=2681 --- camel/ChangeLog | 3 +++ camel/camel-internet-address.c | 2 +- camel/camel-internet-address.h | 2 +- 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 + * 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 **); -- cgit