Mercurial > pidgin
comparison finch/gntpounce.c @ 18106:40d51793f2d7
propagate from branch 'im.pidgin.pidgin.2.1.0' (head d8c7c08339ae468cb4298f6850eb7d3b760ad7b5)
to branch 'im.pidgin.pidgin' (head 7f1ffdbda951c2effec7bfbfa8148e9ce98e7669)
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 15 Jun 2007 19:34:24 +0000 |
parents | 4ca97b26a8fb |
children | 926ccb104da0 |
comparison
equal
deleted
inserted
replaced
17938:9564b55f3c18 | 18106:40d51793f2d7 |
---|---|
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); |