[folks/next: 11/14] Telepathy test libs: use GDBusMethodInvocation



commit a09aed17b1f8c0a75222c5a31e177b07b504506c
Author: Simon McVittie <simon mcvittie collabora co uk>
Date:   Tue Mar 25 12:33:50 2014 +0000

    Telepathy test libs: use GDBusMethodInvocation
    
    Automated:
      git grep -lz DBusGMethodInvocation |
      xargs -0 perl -pi -e 's/\bDBusGMethodInvocation\b/GDBusMethodInvocation/g'
    Bug: https://bugs.freedesktop.org/show_bug.cgi?id=28782

 tests/lib/telepathy/contactlist/contacts-conn.c    |   12 ++++++------
 tests/lib/telepathy/contactlist/echo-chan.c        |    2 +-
 tests/lib/telepathy/contactlist/room-list-chan.c   |    2 +-
 .../telepathy/contactlist/simple-account-manager.c |    2 +-
 tests/lib/telepathy/contactlist/simple-account.c   |    2 +-
 tests/lib/telepathy/contactlist/simple-conn.c      |    2 +-
 6 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/tests/lib/telepathy/contactlist/contacts-conn.c b/tests/lib/telepathy/contactlist/contacts-conn.c
index 632ddcc..44030df 100644
--- a/tests/lib/telepathy/contactlist/contacts-conn.c
+++ b/tests/lib/telepathy/contactlist/contacts-conn.c
@@ -742,7 +742,7 @@ tp_tests_contacts_connection_set_default_contact_info (
 static void
 my_request_aliases (TpSvcConnectionInterfaceAliasing1 *aliasing,
                     const GArray *contacts,
-                    DBusGMethodInvocation *context)
+                    GDBusMethodInvocation *context)
 {
   TpTestsContactsConnection *self = TP_TESTS_CONTACTS_CONNECTION (aliasing);
   TpBaseConnection *base = TP_BASE_CONNECTION (aliasing);
@@ -787,7 +787,7 @@ my_request_aliases (TpSvcConnectionInterfaceAliasing1 *aliasing,
 static void
 my_set_aliases (TpSvcConnectionInterfaceAliasing1 *aliasing,
     GHashTable *table,
-    DBusGMethodInvocation *context)
+    GDBusMethodInvocation *context)
 {
   TpTestsContactsConnection *self = TP_TESTS_CONTACTS_CONNECTION (aliasing);
   TpBaseConnection *base = TP_BASE_CONNECTION (aliasing);
@@ -851,7 +851,7 @@ init_aliasing (gpointer g_iface,
 static void
 my_request_avatars (TpSvcConnectionInterfaceAvatars1 *avatars,
     const GArray *contacts,
-    DBusGMethodInvocation *context)
+    GDBusMethodInvocation *context)
 {
   TpTestsContactsConnection *self = TP_TESTS_CONTACTS_CONNECTION (avatars);
   TpBaseConnection *base = TP_BASE_CONNECTION (avatars);
@@ -942,7 +942,7 @@ lookup_contact_info (TpTestsContactsConnection *self,
 static void
 my_refresh_contact_info (TpSvcConnectionInterfaceContactInfo1 *obj,
     const GArray *contacts,
-    DBusGMethodInvocation *context)
+    GDBusMethodInvocation *context)
 {
   TpTestsContactsConnection *self = TP_TESTS_CONTACTS_CONNECTION (obj);
   TpBaseConnection *base = TP_BASE_CONNECTION (obj);
@@ -977,7 +977,7 @@ my_refresh_contact_info (TpSvcConnectionInterfaceContactInfo1 *obj,
 static void
 my_request_contact_info (TpSvcConnectionInterfaceContactInfo1 *obj,
     guint handle,
-    DBusGMethodInvocation *context)
+    GDBusMethodInvocation *context)
 {
   TpTestsContactsConnection *self = TP_TESTS_CONTACTS_CONNECTION (obj);
   TpBaseConnection *base = TP_BASE_CONNECTION (obj);
@@ -1006,7 +1006,7 @@ my_request_contact_info (TpSvcConnectionInterfaceContactInfo1 *obj,
 static void
 my_set_contact_info (TpSvcConnectionInterfaceContactInfo1 *obj,
     const GPtrArray *info,
-    DBusGMethodInvocation *context)
+    GDBusMethodInvocation *context)
 {
   TpTestsContactsConnection *self = TP_TESTS_CONTACTS_CONNECTION (obj);
   TpBaseConnection *base = TP_BASE_CONNECTION (obj);
diff --git a/tests/lib/telepathy/contactlist/echo-chan.c b/tests/lib/telepathy/contactlist/echo-chan.c
index c5a6465..fd28e50 100644
--- a/tests/lib/telepathy/contactlist/echo-chan.c
+++ b/tests/lib/telepathy/contactlist/echo-chan.c
@@ -202,7 +202,7 @@ text_send (GObject *object,
 
 static void
 destroyable_destroy (TpSvcChannelInterfaceDestroyable1 *iface,
-                     DBusGMethodInvocation *context)
+                     GDBusMethodInvocation *context)
 {
   TpTestsEchoChannel *self = TP_TESTS_ECHO_CHANNEL (iface);
 
diff --git a/tests/lib/telepathy/contactlist/room-list-chan.c 
b/tests/lib/telepathy/contactlist/room-list-chan.c
index f2749a2..da1ecc2 100644
--- a/tests/lib/telepathy/contactlist/room-list-chan.c
+++ b/tests/lib/telepathy/contactlist/room-list-chan.c
@@ -209,7 +209,7 @@ find_rooms (gpointer data)
 
 static void
 room_list_list_rooms (TpSvcChannelTypeRoomList1 *chan,
-    DBusGMethodInvocation *context)
+    GDBusMethodInvocation *context)
 {
   TpTestsRoomListChan *self = TP_TESTS_ROOM_LIST_CHAN (chan);
 
diff --git a/tests/lib/telepathy/contactlist/simple-account-manager.c 
b/tests/lib/telepathy/contactlist/simple-account-manager.c
index 3979d19..767bce4 100644
--- a/tests/lib/telepathy/contactlist/simple-account-manager.c
+++ b/tests/lib/telepathy/contactlist/simple-account-manager.c
@@ -52,7 +52,7 @@ tp_tests_simple_account_manager_create_account (TpSvcAccountManager *svc,
     const gchar *in_Display_Name,
     GHashTable *in_Parameters,
     GHashTable *in_Properties,
-    DBusGMethodInvocation *context)
+    GDBusMethodInvocation *context)
 {
   TpTestsSimpleAccountManager *self = (TpTestsSimpleAccountManager *) svc;
   const gchar *out = TP_ACCOUNT_OBJECT_PATH_BASE "gabble/jabber/lospolloshermanos";
diff --git a/tests/lib/telepathy/contactlist/simple-account.c 
b/tests/lib/telepathy/contactlist/simple-account.c
index 7f9a629..7f0d568 100644
--- a/tests/lib/telepathy/contactlist/simple-account.c
+++ b/tests/lib/telepathy/contactlist/simple-account.c
@@ -92,7 +92,7 @@ static void
 tp_tests_simple_account_update_parameters (TpSvcAccount *svc,
     GHashTable *parameters,
     const gchar **unset_parameters,
-    DBusGMethodInvocation *context)
+    GDBusMethodInvocation *context)
 {
   GPtrArray *reconnect_required = g_ptr_array_new ();
   GHashTableIter iter;
diff --git a/tests/lib/telepathy/contactlist/simple-conn.c b/tests/lib/telepathy/contactlist/simple-conn.c
index 0c716bd..4769f95 100644
--- a/tests/lib/telepathy/contactlist/simple-conn.c
+++ b/tests/lib/telepathy/contactlist/simple-conn.c
@@ -435,7 +435,7 @@ tp_tests_simple_connection_ensure_room_list_chan (TpTestsSimpleConnection *self,
 static void
 get_all (TpSvcDBusProperties *iface,
     const gchar *interface_name,
-    DBusGMethodInvocation *context)
+    GDBusMethodInvocation *context)
 {
   GHashTable *values = tp_dbus_properties_mixin_dup_all (G_OBJECT (iface),
       interface_name);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]