pidgin: 3849acda: These pointers should rather be marked c...
andrew.victor at mxit.com
andrew.victor at mxit.com
Fri Aug 26 17:30:52 EDT 2011
----------------------------------------------------------------------
Revision: 3849acda3c84d7798c514bc1a9f80cca6674e52c
Parent: b8a0c1b968d60c21b27838cf9338ac9bb8c28e10
Author: andrew.victor at mxit.com
Date: 08/26/11 17:25:25
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3849acda3c84d7798c514bc1a9f80cca6674e52c
Changelog:
These pointers should rather be marked const.
Changes against parent b8a0c1b968d60c21b27838cf9338ac9bb8c28e10
patched libpurple/conversation.c
patched libpurple/conversation.h
patched libpurple/ft.c
patched libpurple/ft.h
-------------- next part --------------
============================================================
--- libpurple/conversation.c 67bff8b2ed192638681008874c3216113edb8ef7
+++ libpurple/conversation.c f9c02951a692d25f09e4c472417d29fded4e5273
@@ -2330,7 +2330,7 @@ void purple_conversation_set_ui_data(Pur
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);
============================================================
--- libpurple/ft.c 05716e1db9100a2ac79a3c4a5b915ccf9f11113d
+++ libpurple/ft.c 921123e08a65cec2f215c35975db53c65e0684f8
@@ -1710,7 +1710,7 @@ gpointer
}
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 @@ void purple_xfer_set_ui_data(PurpleXfer
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);
============================================================
--- libpurple/conversation.h bcfd74e887651f1e339c9e3ca8dc5b5a7e60ae8c
+++ libpurple/conversation.h e3eda6d7875023eb7066d409e9623aee78bc9e2b
@@ -819,7 +819,7 @@ void purple_conversation_set_ui_data(Pur
* 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);
/*@}*/
============================================================
--- libpurple/ft.h aa4cf05b3bbaa46c7b0586672ccf1ddfd1832dd1
+++ libpurple/ft.h 0c7ddb1ef4943f83abcaa39bb73a63fb2ddaff45
@@ -756,7 +756,7 @@ void purple_xfer_set_protocol_data(Purpl
*
* @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 @@ void purple_xfer_set_ui_data(PurpleXfer
* 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);
/*@}*/
More information about the Commits
mailing list