changeset 32434:e5e81ce9c564

These pointers should rather be marked const.
author andrew.victor@mxit.com
date Fri, 26 Aug 2011 21:25:25 +0000
parents cdf49237cd35
children cca6cd8975ef
files libpurple/conversation.c libpurple/conversation.h libpurple/ft.c libpurple/ft.h
diffstat 4 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/conversation.c	Fri Aug 26 21:21:45 2011 +0000
+++ b/libpurple/conversation.c	Fri Aug 26 21:25:25 2011 +0000
@@ -2330,7 +2330,7 @@
 	conv->ui_data = ui_data;
 }
 
-gpointer purple_conversation_get_ui_data(PurpleConversation *conv)
+gpointer purple_conversation_get_ui_data(const PurpleConversation *conv)
 {
 	g_return_val_if_fail(conv != NULL, NULL);
 
--- a/libpurple/conversation.h	Fri Aug 26 21:21:45 2011 +0000
+++ b/libpurple/conversation.h	Fri Aug 26 21:25:25 2011 +0000
@@ -819,7 +819,7 @@
  *         convenience field provided to the UIs--it is not
  *         used by the libpurple core.
  */
-gpointer purple_conversation_get_ui_data(PurpleConversation *conv);
+gpointer purple_conversation_get_ui_data(const PurpleConversation *conv);
 
 /*@}*/
 
--- a/libpurple/ft.c	Fri Aug 26 21:21:45 2011 +0000
+++ b/libpurple/ft.c	Fri Aug 26 21:25:25 2011 +0000
@@ -1710,7 +1710,7 @@
 }
 
 gpointer
-purple_xfer_get_protocol_data(PurpleXfer *xfer)
+purple_xfer_get_protocol_data(const PurpleXfer *xfer)
 {
 	g_return_val_if_fail(xfer != NULL, NULL);
 
@@ -1724,7 +1724,7 @@
 	xfer->ui_data = ui_data;
 }
 
-gpointer purple_xfer_get_ui_data(PurpleXfer *xfer)
+gpointer purple_xfer_get_ui_data(const PurpleXfer *xfer)
 {
 	g_return_val_if_fail(xfer != NULL, NULL);
 
--- a/libpurple/ft.h	Fri Aug 26 21:21:45 2011 +0000
+++ b/libpurple/ft.h	Fri Aug 26 21:25:25 2011 +0000
@@ -756,7 +756,7 @@
  *
  * @since 3.0.0
  */
-gpointer purple_xfer_get_protocol_data(PurpleXfer *xfer);
+gpointer purple_xfer_get_protocol_data(const PurpleXfer *xfer);
 
 /**
  * Set the UI data associated with this file transfer.
@@ -775,7 +775,7 @@
  *         convenience field provided to the UIs--it is not
  *         used by the libpurple core.
  */
-gpointer purple_xfer_get_ui_data(PurpleXfer *xfer);
+gpointer purple_xfer_get_ui_data(const PurpleXfer *xfer);
 
 /*@}*/