cpw.darkrain42.xmpp.disco: 8e57e50c: It helps to actually add functions when ...
paul at darkrain42.org
paul at darkrain42.org
Sat Apr 25 16:17:10 EDT 2009
-----------------------------------------------------------------
Revision: 8e57e50c0af2a2a695ff0b244bffa9f3265eedf4
Ancestor: beab739b741abbf14afe5328d1414151f04bc422
Author: paul at darkrain42.org
Date: 2009-04-13T06:10:26
Branch: im.pidgin.cpw.darkrain42.xmpp.disco
URL: http://d.pidgin.im/viewmtn/revision/info/8e57e50c0af2a2a695ff0b244bffa9f3265eedf4
Modified files:
libpurple/disco.c
ChangeLog:
It helps to actually add functions when adding prototypes to a header
-------------- next part --------------
============================================================
--- libpurple/disco.c b78fc9bc58fe00b8dd9ce7899902091782a49253
+++ libpurple/disco.c 701a16b03738bae000344449e2fe345ad629c8f4
@@ -315,6 +315,20 @@ gpointer purple_disco_list_get_protocol_
return list->proto_data;
}
+void purple_disco_list_set_cancel_func(PurpleDiscoList *list, PurpleDiscoCancelFunc cb)
+{
+ g_return_if_fail(list != NULL);
+
+ list->ops.cancel_cb = cb;
+}
+
+void purple_disco_list_set_register_func(PurpleDiscoList *list, PurpleDiscoRegisterFunc cb)
+{
+ g_return_if_fail(list != NULL);
+
+ list->ops.register_cb = cb;
+}
+
void purple_disco_set_ui_ops(PurpleDiscoUiOps *ui_ops)
{
ops = ui_ops;
More information about the Commits
mailing list