diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-04-01 14:29:14 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-04-01 14:29:14 +0100 |
commit | 091a2b2a84b6779ed609644abbeb84165b21bac3 (patch) | |
tree | e4b7b2974ce07e3da32a1a066c2026c878eb43d2 | |
parent | 8b7f8581031ceed7c872767d78ac1798bcf4a0e7 (diff) |
tp_client_factory_dup_channel_dispatcher: rename to _ensure_channel_dispatcher
-rw-r--r-- | docs/reference/telepathy-glib/telepathy-glib-sections.txt | 2 | ||||
-rw-r--r-- | telepathy-glib/account-channel-request.c | 4 | ||||
-rw-r--r-- | telepathy-glib/base-client.c | 2 | ||||
-rw-r--r-- | telepathy-glib/client-factory.c | 4 | ||||
-rw-r--r-- | telepathy-glib/client-factory.h | 2 | ||||
-rw-r--r-- | tests/dbus/base-client.c | 2 | ||||
-rw-r--r-- | tests/dbus/channel-dispatcher.c | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/docs/reference/telepathy-glib/telepathy-glib-sections.txt b/docs/reference/telepathy-glib/telepathy-glib-sections.txt index cd6cd7c19..c8de563ce 100644 --- a/docs/reference/telepathy-glib/telepathy-glib-sections.txt +++ b/docs/reference/telepathy-glib/telepathy-glib-sections.txt @@ -5730,7 +5730,7 @@ tp_client_factory_get_dbus_daemon tp_client_factory_get_dbus_connection <SUBSECTION> tp_client_factory_ensure_account_manager -tp_client_factory_dup_channel_dispatcher +tp_client_factory_ensure_channel_dispatcher <SUBSECTION> tp_client_factory_ensure_account tp_client_factory_dup_account_features diff --git a/telepathy-glib/account-channel-request.c b/telepathy-glib/account-channel-request.c index e7259fbec..1ec8a508a 100644 --- a/telepathy-glib/account-channel-request.c +++ b/telepathy-glib/account-channel-request.c @@ -963,7 +963,7 @@ request_and_handle_channel_async (TpAccountChannelRequest *self, return; } - cd = tp_client_factory_dup_channel_dispatcher (tp_proxy_get_factory ( + cd = tp_client_factory_ensure_channel_dispatcher (tp_proxy_get_factory ( self->priv->account)); hints = tp_asv_from_vardict (self->priv->hints); @@ -1200,7 +1200,7 @@ request_channel_async (TpAccountChannelRequest *self, callback, user_data)) return; - cd = tp_client_factory_dup_channel_dispatcher (tp_proxy_get_factory ( + cd = tp_client_factory_ensure_channel_dispatcher (tp_proxy_get_factory ( self->priv->account)); hints = tp_asv_from_vardict (self->priv->hints); diff --git a/telepathy-glib/base-client.c b/telepathy-glib/base-client.c index bfb39cc60..5024cb7fc 100644 --- a/telepathy-glib/base-client.c +++ b/telepathy-glib/base-client.c @@ -2832,7 +2832,7 @@ tp_base_client_delegate_channels_async (TpBaseClient *self, g_return_if_fail (TP_IS_BASE_CLIENT (self)); g_return_if_fail (self->priv->flags & CLIENT_IS_HANDLER); - cd = tp_client_factory_dup_channel_dispatcher (self->priv->factory); + cd = tp_client_factory_ensure_channel_dispatcher (self->priv->factory); chans = g_ptr_array_new_full (g_list_length (channels), g_free); diff --git a/telepathy-glib/client-factory.c b/telepathy-glib/client-factory.c index 9830b83fc..3487ab9b1 100644 --- a/telepathy-glib/client-factory.c +++ b/telepathy-glib/client-factory.c @@ -652,7 +652,7 @@ tp_client_factory_ensure_account_manager (TpClientFactory *self) } /** - * tp_client_factory_dup_channel_dispatcher: + * tp_client_factory_ensure_channel_dispatcher: * @self: a #TpClientFactory object * * <!-- --> @@ -662,7 +662,7 @@ tp_client_factory_ensure_account_manager (TpClientFactory *self) * Since: 0.UNRELEASED */ TpChannelDispatcher * -tp_client_factory_dup_channel_dispatcher (TpClientFactory *self) +tp_client_factory_ensure_channel_dispatcher (TpClientFactory *self) { TpChannelDispatcher *channel_dispatcher; diff --git a/telepathy-glib/client-factory.h b/telepathy-glib/client-factory.h index f9eb0a501..d5932458d 100644 --- a/telepathy-glib/client-factory.h +++ b/telepathy-glib/client-factory.h @@ -135,7 +135,7 @@ GDBusConnection *tp_client_factory_get_dbus_connection (TpClientFactory *self); TpAccountManager *tp_client_factory_ensure_account_manager ( TpClientFactory *self); -TpChannelDispatcher *tp_client_factory_dup_channel_dispatcher ( +TpChannelDispatcher *tp_client_factory_ensure_channel_dispatcher ( TpClientFactory *self); /* TpAccount */ diff --git a/tests/dbus/base-client.c b/tests/dbus/base-client.c index c0514761d..08f6883de 100644 --- a/tests/dbus/base-client.c +++ b/tests/dbus/base-client.c @@ -1268,7 +1268,7 @@ test_present_channel (Test *test, { TpChannelDispatcher *cd; - cd = tp_client_factory_dup_channel_dispatcher (test->factory); + cd = tp_client_factory_ensure_channel_dispatcher (test->factory); tp_channel_dispatcher_present_channel_async (cd, test->text_chan, TP_USER_ACTION_TIME_CURRENT_TIME, present_channel_cb, test); diff --git a/tests/dbus/channel-dispatcher.c b/tests/dbus/channel-dispatcher.c index be8375ad4..ba8f0f72f 100644 --- a/tests/dbus/channel-dispatcher.c +++ b/tests/dbus/channel-dispatcher.c @@ -61,7 +61,7 @@ test_new (Test *test, TpClientFactory *factory; factory = tp_client_factory_new (test->dbus); - test->cd = tp_client_factory_dup_channel_dispatcher (factory); + test->cd = tp_client_factory_ensure_channel_dispatcher (factory); g_assert (test->cd != NULL); g_object_unref (factory); } |