| 563 return im; |
563 return im; |
| 564 |
564 |
| 565 gc = purple_account_get_connection(account); |
565 gc = purple_account_get_connection(account); |
| 566 g_return_val_if_fail(gc != NULL, NULL); |
566 g_return_val_if_fail(gc != NULL, NULL); |
| 567 |
567 |
| 568 /* TODO check here. conversation-updated signals are emitted before |
|
| 569 * conversation-created signals because of the _set()'s |
|
| 570 */ |
|
| 571 im = g_object_new(PURPLE_TYPE_IM_CONVERSATION, |
568 im = g_object_new(PURPLE_TYPE_IM_CONVERSATION, |
| 572 "account", account, |
569 "account", account, |
| 573 "name", name, |
570 "name", name, |
| 574 "title", name, |
571 "title", name, |
| 575 NULL); |
572 NULL); |
| 1628 } |
1625 } |
| 1629 |
1626 |
| 1630 gc = purple_account_get_connection(account); |
1627 gc = purple_account_get_connection(account); |
| 1631 g_return_val_if_fail(gc != NULL, NULL); |
1628 g_return_val_if_fail(gc != NULL, NULL); |
| 1632 |
1629 |
| 1633 /* TODO check here. conversation-updated signals are emitted before |
|
| 1634 * conversation-created signals because of the _set()'s |
|
| 1635 */ |
|
| 1636 chat = g_object_new(PURPLE_TYPE_CHAT_CONVERSATION, |
1630 chat = g_object_new(PURPLE_TYPE_CHAT_CONVERSATION, |
| 1637 "account", account, |
1631 "account", account, |
| 1638 "name", name, |
1632 "name", name, |
| 1639 "title", name, |
1633 "title", name, |
| 1640 NULL); |
1634 NULL); |