# HG changeset patch # User Mark Doliner # Date 1200469059 0 # Node ID 91a4506b5808ff08d84afad3c5679b1bd373a966 # Parent 22908b354baf7e7bd6b4a47d134e4d9b5756f70d# Parent 70c84d8ccc575e25fefae8b48f302c737d71d919 merge of '15fcc72f6db29d572909078a86fb269698314506' and 'cb5f23cc7be3a9e456a66f0a9325074c5fc23bc1' diff -r 22908b354baf -r 91a4506b5808 libpurple/prpl.c --- 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); diff -r 22908b354baf -r 91a4506b5808 libpurple/prpl.h --- 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); /*@}*/