changeset 22125:70c84d8ccc57

merge of '167b1c9f831eb7790b419ee62343bb62ad1be92b' and '9df2fc149cf63f4ef4232f57f841a386130e61d1'
author Mark Doliner <mark@kingant.net>
date Wed, 16 Jan 2008 07:32:39 +0000
parents f55f84a1e3f7 (diff) df77b89a4025 (current diff)
children 91a4506b5808
files
diffstat 2 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/prpl.c	Wed Jan 16 07:32:30 2008 +0000
+++ b/libpurple/prpl.c	Wed Jan 16 07:32: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:32:30 2008 +0000
+++ b/libpurple/prpl.h	Wed Jan 16 07:32: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);
 
 /*@}*/