telepathy-qt: tests: Remove occurrences of tp_handle_unref

Dario Freddi drf at kemper.freedesktop.org
Fri Jul 13 07:31:15 PDT 2012


Module: telepathy-qt
Branch: master
Commit: ae352a1eb7f27396b902fc1fa8722aadeb0a52fa
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=ae352a1eb7f27396b902fc1fa8722aadeb0a52fa

Author: Dario Freddi <dario.freddi at collabora.com>
Date:   Fri Jul 13 16:23:50 2012 +0200

tests: Remove occurrences of tp_handle_unref

Reviewed-by: George Kiagiadakis <george.kiagiadakis at collabora.com>

---

 tests/dbus/dbus-tube-chan.cpp |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/tests/dbus/dbus-tube-chan.cpp b/tests/dbus/dbus-tube-chan.cpp
index a511dfb..deb5e21 100644
--- a/tests/dbus/dbus-tube-chan.cpp
+++ b/tests/dbus/dbus-tube-chan.cpp
@@ -218,11 +218,6 @@ void TestDBusTubeChan::createTubeChannel(bool requested,
 
     g_hash_table_unref(props);
     g_array_unref(acontrols);
-
-    if (withContact)
-        tp_handle_unref(contactRepo, handle);
-    else
-        tp_handle_unref(roomRepo, handle);
 }
 
 void TestDBusTubeChan::initTestCase()



More information about the telepathy-commits mailing list