aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-29 23:57:54 +0800
committerDan Winship <danw@src.gnome.org>2000-04-29 23:57:54 +0800
commit6eee4ba248ca7eb84d5ef89c83c78ce9f8a61027 (patch)
treef97aa84f5b3f634f40c07e1dca02b6a813c4d44a /camel
parent18903e6b226aa9f18e1fd25450b2b463dd2a4801 (diff)
downloadgsoc2013-evolution-6eee4ba248ca7eb84d5ef89c83c78ce9f8a61027.tar.gz
gsoc2013-evolution-6eee4ba248ca7eb84d5ef89c83c78ce9f8a61027.tar.zst
gsoc2013-evolution-6eee4ba248ca7eb84d5ef89c83c78ce9f8a61027.zip
const poison
* camel-internet-address.c (camel_internet_address_get): const poison svn path=/trunk/; revision=2681
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 **);