aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-address.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-12-14 03:56:34 +0800
committerDan Winship <danw@src.gnome.org>2000-12-14 03:56:34 +0800
commitf70597c49ef593b3e2e227dd36b6df2641da74bb (patch)
tree8353a15088ca9ce05be989bc18dac74fd8566347 /camel/camel-address.c
parentbd99ceb9ff1f5819b01c842242a10f34f65bec57 (diff)
downloadgsoc2013-evolution-f70597c49ef593b3e2e227dd36b6df2641da74bb.tar.gz
gsoc2013-evolution-f70597c49ef593b3e2e227dd36b6df2641da74bb.tar.zst
gsoc2013-evolution-f70597c49ef593b3e2e227dd36b6df2641da74bb.zip
change a bunch of IS_CAMEL_* macros to CAMEL_IS_*
* Namespace cleanup: change a bunch of IS_CAMEL_* macros to CAMEL_IS_* svn path=/trunk/; revision=6972
Diffstat (limited to 'camel/camel-address.c')
-rw-r--r--camel/camel-address.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/camel/camel-address.c b/camel/camel-address.c
index 515e86cc02..a1c0990dec 100644
--- a/camel/camel-address.c
+++ b/camel/camel-address.c
@@ -122,7 +122,7 @@ camel_address_length(CamelAddress *a)
int
camel_address_decode (CamelAddress *a, const char *raw)
{
- g_return_val_if_fail(IS_CAMEL_ADDRESS(a), -1);
+ g_return_val_if_fail(CAMEL_IS_ADDRESS(a), -1);
return CAMEL_ADDRESS_CLASS (CAMEL_OBJECT_GET_CLASS (a))->decode(a, raw);
}
@@ -138,7 +138,7 @@ camel_address_decode (CamelAddress *a, const char *raw)
char *
camel_address_encode (CamelAddress *a)
{
- g_return_val_if_fail(IS_CAMEL_ADDRESS(a), NULL);
+ g_return_val_if_fail(CAMEL_IS_ADDRESS(a), NULL);
return CAMEL_ADDRESS_CLASS (CAMEL_OBJECT_GET_CLASS (a))->encode(a);
}
@@ -157,7 +157,7 @@ camel_address_encode (CamelAddress *a)
int
camel_address_unformat(CamelAddress *a, const char *raw)
{
- g_return_val_if_fail(IS_CAMEL_ADDRESS(a), -1);
+ g_return_val_if_fail(CAMEL_IS_ADDRESS(a), -1);
return CAMEL_ADDRESS_CLASS (CAMEL_OBJECT_GET_CLASS (a))->unformat(a, raw);
}
@@ -176,7 +176,7 @@ camel_address_format (CamelAddress *a)
if (a == NULL)
return NULL;
- g_return_val_if_fail(IS_CAMEL_ADDRESS(a), NULL);
+ g_return_val_if_fail(CAMEL_IS_ADDRESS(a), NULL);
return CAMEL_ADDRESS_CLASS (CAMEL_OBJECT_GET_CLASS (a))->format(a);
}
@@ -194,8 +194,8 @@ camel_address_format (CamelAddress *a)
int
camel_address_cat (CamelAddress *dest, const CamelAddress *source)
{
- g_return_val_if_fail(IS_CAMEL_ADDRESS(dest), -1);
- g_return_val_if_fail(IS_CAMEL_ADDRESS(source), -1);
+ g_return_val_if_fail(CAMEL_IS_ADDRESS(dest), -1);
+ g_return_val_if_fail(CAMEL_IS_ADDRESS(source), -1);
return CAMEL_ADDRESS_CLASS(CAMEL_OBJECT_GET_CLASS(dest))->cat(dest, source);
}
@@ -212,8 +212,8 @@ camel_address_cat (CamelAddress *dest, const CamelAddress *source)
int
camel_address_copy (CamelAddress *dest, const CamelAddress *source)
{
- g_return_val_if_fail(IS_CAMEL_ADDRESS(dest), -1);
- g_return_val_if_fail(IS_CAMEL_ADDRESS(source), -1);
+ g_return_val_if_fail(CAMEL_IS_ADDRESS(dest), -1);
+ g_return_val_if_fail(CAMEL_IS_ADDRESS(source), -1);
camel_address_remove(dest, -1);
return camel_address_cat(dest, source);
@@ -229,7 +229,7 @@ camel_address_copy (CamelAddress *dest, const CamelAddress *source)
void
camel_address_remove (CamelAddress *a, int index)
{
- g_return_if_fail(IS_CAMEL_ADDRESS(a));
+ g_return_if_fail(CAMEL_IS_ADDRESS(a));
if (index == -1) {
for (index=a->addresses->len; index>-1; index--)