Mercurial > pidgin.yaz
comparison libpurple/protocols/gg/gg-utils.c @ 32737:03a55a2997d1
Gadu-Gadu: Fixed password change dialog and problems with connecting to accounts with non-ASCII passwords. Fixes #14652
author | tomkiewicz@cpw.pidgin.im |
---|---|
date | Mon, 10 Oct 2011 23:39:33 +0000 |
parents | 1d92b85ef5d9 |
children |
comparison
equal
deleted
inserted
replaced
32736:1aebe64a412b | 32737:03a55a2997d1 |
---|---|
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: */ |