Mercurial > pidgin
changeset 22127:91a4506b5808
merge of '15fcc72f6db29d572909078a86fb269698314506'
and 'cb5f23cc7be3a9e456a66f0a9325074c5fc23bc1'
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 16 Jan 2008 07:37:39 +0000 |
parents | 22908b354baf (current diff) 70c84d8ccc57 (diff) |
children | c7da54111ea0 |
files | |
diffstat | 2 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/prpl.c Wed Jan 16 07:37:29 2008 +0000 +++ b/libpurple/prpl.c Wed Jan 16 07:37:39 2008 +0000 @@ -87,7 +87,7 @@ } const char * -purple_attention_type_get_name(PurpleAttentionType *type) +purple_attention_type_get_name(const PurpleAttentionType *type) { g_return_val_if_fail(type != NULL, NULL); @@ -95,7 +95,7 @@ } const char * -purple_attention_type_get_incoming_desc(PurpleAttentionType *type) +purple_attention_type_get_incoming_desc(const PurpleAttentionType *type) { g_return_val_if_fail(type != NULL, NULL); @@ -103,7 +103,7 @@ } const char * -purple_attention_type_get_outgoing_desc(PurpleAttentionType *type) +purple_attention_type_get_outgoing_desc(const PurpleAttentionType *type) { g_return_val_if_fail(type != NULL, NULL); @@ -111,7 +111,7 @@ } const char * -purple_attention_type_get_icon_name(PurpleAttentionType *type) +purple_attention_type_get_icon_name(const PurpleAttentionType *type) { g_return_val_if_fail(type != NULL, NULL); @@ -122,7 +122,7 @@ } const char * -purple_attention_type_get_unlocalized_name(PurpleAttentionType *type) +purple_attention_type_get_unlocalized_name(const PurpleAttentionType *type) { g_return_val_if_fail(type != NULL, NULL);
--- a/libpurple/prpl.h Wed Jan 16 07:37:29 2008 +0000 +++ b/libpurple/prpl.h Wed Jan 16 07:37:39 2008 +0000 @@ -491,7 +491,7 @@ * @return The name. * @since 2.4.0 */ -const char *purple_attention_type_get_name(PurpleAttentionType *type); +const char *purple_attention_type_get_name(const PurpleAttentionType *type); /** * Get the attention type's description shown when the event is received. @@ -500,7 +500,7 @@ * @return The description. * @since 2.4.0 */ -const char *purple_attention_type_get_incoming_desc(PurpleAttentionType *type); +const char *purple_attention_type_get_incoming_desc(const PurpleAttentionType *type); /** * Get the attention type's description shown when the event is sent. @@ -509,7 +509,7 @@ * @return The description. * @since 2.4.0 */ -const char *purple_attention_type_get_outgoing_desc(PurpleAttentionType *type); +const char *purple_attention_type_get_outgoing_desc(const PurpleAttentionType *type); /** * Get the attention type's icon name. @@ -519,7 +519,7 @@ * @note Icons are optional for attention events. * @since 2.4.0 */ -const char *purple_attention_type_get_icon_name(PurpleAttentionType *type); +const char *purple_attention_type_get_icon_name(const PurpleAttentionType *type); /** * Get the attention type's unlocalized name; this is useful for some UIs. @@ -528,7 +528,7 @@ * @return The unlocalized name. * @since 2.4.0 */ -const char *purple_attention_type_get_unlocalized_name(PurpleAttentionType *type); +const char *purple_attention_type_get_unlocalized_name(const PurpleAttentionType *type); /*@}*/