Changeset cfae6a654e0c037d23c374750b9e5a5d99233c1d
- Timestamp:
- 12/28/08 20:39:14 (4 years ago)
- Author:
- Armin Burgmeier <armin@…>
- Parents:
- 6414d70e25135e3bf35d48466c295ec815837293
- Children:
- e679ac0dfd3b50adaa209f0654439430195ad42b
- git-committer:
- Armin Burgmeier <armin@arbur.net> / 2008-12-28T20:39:14Z+0100
- Message:
-
Adapt to libinfinity's new communication API
2008-12-28 Armin Burgmeier <armin@…>
- code/core/browser.cpp:
- code/core/noteplugin.cpp:
- code/operations/operation-open.cpp: Adapt to libinfinity's new
communication API.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
ra618792
|
rcfae6a6
|
|
| | 1 | 2008-12-28 Armin Burgmeier <armin@arbur.net> |
| | 2 | |
| | 3 | * code/core/browser.cpp: |
| | 4 | * code/core/noteplugin.cpp: |
| | 5 | * code/operations/operation-open.cpp: Adapt to libinfinity's new |
| | 6 | communication API. |
| | 7 | |
| 1 | 8 | 2008-12-23 Philipp Kern <phil@0x539.de> |
| 2 | 9 | |
-
|
r4c777e6
|
rcfae6a6
|
|
| 58 | 58 | |
| 59 | 59 | m_io = inf_gtk_io_new(); |
| 60 | | InfConnectionManager* connection_manager = |
| 61 | | inf_connection_manager_new(); |
| | 60 | InfCommunicationManager* communication_manager = |
| | 61 | inf_communication_manager_new(); |
| 62 | 62 | |
| 63 | 63 | m_browser_store = inf_gtk_browser_store_new(INF_IO(m_io), |
| 64 | | connection_manager, |
| 65 | | NULL); |
| 66 | | g_object_unref(connection_manager); |
| | 64 | communication_manager); |
| | 65 | g_object_unref(communication_manager); |
| 67 | 66 | |
| 68 | 67 | m_xmpp_manager = inf_xmpp_manager_new(); |
-
|
r4d4ee96
|
rcfae6a6
|
|
| 31 | 31 | { |
| 32 | 32 | InfSession* |
| 33 | | session_new(InfIo* io, InfConnectionManager* manager, |
| 34 | | InfConnectionManagerGroup* sync_group, |
| | 33 | session_new(InfIo* io, InfCommunicationManager* manager, |
| | 34 | InfCommunicationJoinedGroup* sync_group, |
| 35 | 35 | InfXmlConnection* sync_connection, gpointer user_data) |
| 36 | 36 | { |
| … |
… |
|
| 48 | 48 | inf_text_session_new_with_user_table( |
| 49 | 49 | manager, INF_TEXT_BUFFER(buffer), io, |
| 50 | | user_table, sync_group, sync_connection); |
| | 50 | user_table, |
| | 51 | INF_COMMUNICATION_GROUP(sync_group), |
| | 52 | sync_connection); |
| 51 | 53 | return INF_SESSION(session); |
| 52 | 54 | } |
-
|
r65f2cb0
|
rcfae6a6
|
|
| 391 | 391 | g_object_unref(user_table); |
| 392 | 392 | |
| 393 | | InfConnectionManager* connection_manager = |
| 394 | | infc_browser_get_connection_manager(m_browser); |
| | 393 | InfCommunicationManager* communication_manager = |
| | 394 | infc_browser_get_communication_manager(m_browser); |
| 395 | 395 | |
| 396 | 396 | InfIo* io; |
| … |
… |
|
| 398 | 398 | |
| 399 | 399 | InfTextSession* session = inf_text_session_new_with_user_table( |
| 400 | | connection_manager, INF_TEXT_BUFFER(text_gtk_buffer), io, |
| | 400 | communication_manager, INF_TEXT_BUFFER(text_gtk_buffer), io, |
| 401 | 401 | user_table, NULL, NULL); |
| 402 | 402 | |