[Pkg-telepathy-commits] [telepathy-glib-1] 74/212: tp_client_factory_dup_logger: rename to _ensure_logger

Simon McVittie smcv at debian.org
Wed May 14 12:08:53 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-glib-1.

commit 91fef8be6ce92eb1a05536fff3994a76f2f2ab08
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Apr 1 14:36:41 2014 +0100

    tp_client_factory_dup_logger: rename to _ensure_logger
---
 docs/reference/telepathy-glib/telepathy-glib-sections.txt | 2 +-
 telepathy-glib/client-factory.c                           | 4 ++--
 telepathy-glib/client-factory.h                           | 2 +-
 telepathy-glib/logger.c                                   | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/reference/telepathy-glib/telepathy-glib-sections.txt b/docs/reference/telepathy-glib/telepathy-glib-sections.txt
index 90a7e35..69a3744 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_connection
 <SUBSECTION>
 tp_client_factory_ensure_account_manager
 tp_client_factory_ensure_channel_dispatcher
-tp_client_factory_dup_logger
+tp_client_factory_ensure_logger
 <SUBSECTION>
 tp_client_factory_ensure_account
 tp_client_factory_dup_account_features
diff --git a/telepathy-glib/client-factory.c b/telepathy-glib/client-factory.c
index 09d91dd..e986655 100644
--- a/telepathy-glib/client-factory.c
+++ b/telepathy-glib/client-factory.c
@@ -679,7 +679,7 @@ tp_client_factory_ensure_channel_dispatcher (TpClientFactory *self)
 }
 
 /**
- * tp_client_factory_dup_logger:
+ * tp_client_factory_ensure_logger:
  * @self: a #TpClientFactory object
  *
  * <!-- -->
@@ -689,7 +689,7 @@ tp_client_factory_ensure_channel_dispatcher (TpClientFactory *self)
  * Since: 0.UNRELEASED
  */
 TpLogger *
-tp_client_factory_dup_logger (TpClientFactory *self)
+tp_client_factory_ensure_logger (TpClientFactory *self)
 {
   TpLogger *logger;
 
diff --git a/telepathy-glib/client-factory.h b/telepathy-glib/client-factory.h
index 8df4679..81722a7 100644
--- a/telepathy-glib/client-factory.h
+++ b/telepathy-glib/client-factory.h
@@ -140,7 +140,7 @@ TpAccountManager *tp_client_factory_ensure_account_manager (
     TpClientFactory *self);
 TpChannelDispatcher *tp_client_factory_ensure_channel_dispatcher (
     TpClientFactory *self);
-TpLogger *tp_client_factory_dup_logger (TpClientFactory *self);
+TpLogger *tp_client_factory_ensure_logger (TpClientFactory *self);
 
 /* TpAccount */
 TpAccount *tp_client_factory_ensure_account (TpClientFactory *self,
diff --git a/telepathy-glib/logger.c b/telepathy-glib/logger.c
index fe06d25..b80eaaa 100644
--- a/telepathy-glib/logger.c
+++ b/telepathy-glib/logger.c
@@ -116,7 +116,7 @@ tp_logger_dup (void)
       return NULL;
     }
 
-  self = tp_client_factory_dup_logger (factory);
+  self = tp_client_factory_ensure_logger (factory);
 
   g_object_unref (factory);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-glib-1.git



More information about the Pkg-telepathy-commits mailing list