Mercurial > pidgin
changeset 26600:15d681a53b5a
It helps to actually add functions when adding prototypes to a header
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Mon, 13 Apr 2009 06:10:26 +0000 |
parents | f1dd84b4964e |
children | 31c240da2cd3 |
files | libpurple/disco.c |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/disco.c Mon Apr 13 05:21:52 2009 +0000 +++ b/libpurple/disco.c Mon Apr 13 06:10:26 2009 +0000 @@ -315,6 +315,20 @@ 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;