# HG changeset patch
# User Mark Doliner <mark@kingant.net>
# Date 1207266117 0
# Node ID 93c40e412b54cb433187b8750331a252a3a3c6e6
# Parent  7612deb3a95a5a2040f4788552a2353ec9fba22b
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.

diff -r 7612deb3a95a -r 93c40e412b54 libpurple/notify.c
--- a/libpurple/notify.c	Thu Apr 03 23:41:06 2008 +0000
+++ b/libpurple/notify.c	Thu Apr 03 23:41:57 2008 +0000
@@ -586,7 +586,7 @@
 }
 
 
-gchar *
+const gchar *
 purple_notify_user_info_entry_get_label(PurpleNotifyUserInfoEntry *user_info_entry)
 {
 	g_return_val_if_fail(user_info_entry != NULL, NULL);
@@ -603,7 +603,7 @@
 	user_info_entry->label = g_strdup(label);
 }
 
-gchar *
+const gchar *
 purple_notify_user_info_entry_get_value(PurpleNotifyUserInfoEntry *user_info_entry)
 {
 	g_return_val_if_fail(user_info_entry != NULL, NULL);
diff -r 7612deb3a95a -r 93c40e412b54 libpurple/notify.h
--- 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