diff libpurple/notify.h @ 22605:93c40e412b54

constify the return value from purple_notify_user_info_entry_get_label and purple_notify_user_info_entry_get_value. I didn't see any reason for these to be non-const, and I don't believe this breaks API compatibility.
author Mark Doliner <mark@kingant.net>
date Thu, 03 Apr 2008 23:41:57 +0000
parents 6de09629f091
children e0bcb8cfda74
line wrap: on
line diff
--- a/libpurple/notify.h	Thu Apr 03 23:41:06 2008 +0000
+++ b/libpurple/notify.h	Thu Apr 03 23:41:57 2008 +0000
@@ -596,7 +596,7 @@
  *
  * @result                    The label
  */
-gchar *purple_notify_user_info_entry_get_label(PurpleNotifyUserInfoEntry *user_info_entry);
+const gchar *purple_notify_user_info_entry_get_label(PurpleNotifyUserInfoEntry *user_info_entry);
 
 /**
  * Set the label for a PurpleNotifyUserInfoEntry
@@ -613,7 +613,7 @@
  *
  * @result                    The value
  */
-gchar *purple_notify_user_info_entry_get_value(PurpleNotifyUserInfoEntry *user_info_entry);
+const gchar *purple_notify_user_info_entry_get_value(PurpleNotifyUserInfoEntry *user_info_entry);
 
 /**
  * Set the value for a PurpleNotifyUserInfoEntry