Mercurial > pidgin
comparison libpurple/protocols/gg/gg-utils.c @ 32672:3828a61c44da
A boring and large patch so I can merge heads.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 23 Dec 2011 08:21:58 +0000 |
parents | 1d92b85ef5d9 |
children |
comparison
equal
deleted
inserted
replaced
32671:0e69949b3e61 | 32672:3828a61c44da |
---|---|
141 purple_prpl_got_user_status(account, purple_account_get_username(account), | 141 purple_prpl_got_user_status(account, purple_account_get_username(account), |
142 status_id, | 142 status_id, |
143 msg ? "message" : NULL, msg, NULL); | 143 msg ? "message" : NULL, msg, NULL); |
144 } | 144 } |
145 | 145 |
146 guint ggp_http_input_add(struct gg_http *http_req, PurpleInputFunction func, | |
147 gpointer user_data) | |
148 { | |
149 PurpleInputCondition cond = 0; | |
150 int check = http_req->check; | |
151 | |
152 if (check & GG_CHECK_READ) | |
153 cond |= PURPLE_INPUT_READ; | |
154 if (check & GG_CHECK_WRITE) | |
155 cond |= PURPLE_INPUT_WRITE; | |
156 | |
157 return purple_input_add(http_req->fd, cond, func, user_data); | |
158 } | |
146 | 159 |
147 /* vim: set ts=8 sts=0 sw=8 noet: */ | 160 /* vim: set ts=8 sts=0 sw=8 noet: */ |