Mercurial > pidgin.yaz
comparison finch/gntpounce.c @ 18068:0b3d6ea61760
propagate from branch 'im.pidgin.pidgin' (head 4b50880d8517570eaa67d4cd9d88c5934bb832f1)
to branch 'im.pidgin.pidgin.2.1.0' (head fefd59692d4177b91d52f6d71b1565b76c88725d)
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 07 Jun 2007 14:48:33 +0000 |
parents | 4ca97b26a8fb |
children | 926ccb104da0 |
comparison
equal
deleted
inserted
replaced
17782:5eebb9b24e30 | 18068:0b3d6ea61760 |
---|---|
286 GntWidget *window; | 286 GntWidget *window; |
287 GntWidget *bbox; | 287 GntWidget *bbox; |
288 GntWidget *hbox, *vbox; | 288 GntWidget *hbox, *vbox; |
289 GntWidget *button; | 289 GntWidget *button; |
290 GntWidget *combo; | 290 GntWidget *combo; |
291 GList *list; | 291 const GList *list; |
292 | 292 |
293 g_return_if_fail((cur_pounce != NULL) || | 293 g_return_if_fail((cur_pounce != NULL) || |
294 (account != NULL) || | 294 (account != NULL) || |
295 (purple_accounts_get_all() != NULL)); | 295 (purple_accounts_get_all() != NULL)); |
296 | 296 |
301 dialog->account = purple_pounce_get_pouncer(cur_pounce); | 301 dialog->account = purple_pounce_get_pouncer(cur_pounce); |
302 } else if (account != NULL) { | 302 } else if (account != NULL) { |
303 dialog->pounce = NULL; | 303 dialog->pounce = NULL; |
304 dialog->account = account; | 304 dialog->account = account; |
305 } else { | 305 } else { |
306 GList *connections = purple_connections_get_all(); | 306 const GList *connections = purple_connections_get_all(); |
307 PurpleConnection *gc; | 307 PurpleConnection *gc; |
308 | 308 |
309 if (connections != NULL) { | 309 if (connections != NULL) { |
310 gc = (PurpleConnection *)connections->data; | 310 gc = (PurpleConnection *)connections->data; |
311 dialog->account = purple_connection_get_account(gc); | 311 dialog->account = purple_connection_get_account(gc); |