[next] telepathy-idle: IdleConnection: remove get_interfaces_array

Simon McVittie smcv at kemper.freedesktop.org
Wed May 7 02:18:31 PDT 2014


Module: telepathy-idle
Branch: next
Commit: f7b54630744734e02905d58b25e4a8c3cd0cc185
URL:    http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=f7b54630744734e02905d58b25e4a8c3cd0cc185

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Apr 22 15:17:51 2014 +0100

IdleConnection: remove get_interfaces_array

This is now done in terms of GDBusObjectSkeleton.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77189

---

 src/idle-connection.c |   16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/src/idle-connection.c b/src/idle-connection.c
index 7166972..c2114a4 100644
--- a/src/idle-connection.c
+++ b/src/idle-connection.c
@@ -468,21 +468,6 @@ const gchar * const *idle_connection_get_implemented_interfaces (void) {
 	return interfaces_always_present;
 }
 
-static GPtrArray *
-get_interfaces_always_present (TpBaseConnection *base)
-{
-	GPtrArray *interfaces;
-	const gchar **iter;
-
-	interfaces = TP_BASE_CONNECTION_CLASS (
-		idle_connection_parent_class)->get_interfaces_always_present (base);
-
-	for (iter = interfaces_always_present; *iter != NULL; iter++)
-		g_ptr_array_add (interfaces, (gchar *) *iter);
-
-	return interfaces;
-}
-
 static void idle_connection_fill_contact_attributes (TpBaseConnection *base,
     const gchar *dbus_interface,
     TpHandle handle,
@@ -509,7 +494,6 @@ static void idle_connection_class_init(IdleConnectionClass *klass) {
 	parent_class->disconnected = _iface_disconnected;
 	parent_class->shut_down = _iface_shut_down;
 	parent_class->start_connecting = _iface_start_connecting;
-	parent_class->get_interfaces_always_present = get_interfaces_always_present;
 	parent_class->fill_contact_attributes = idle_connection_fill_contact_attributes;
 
 	param_spec = g_param_spec_string("nickname", "IRC nickname", "The nickname to be visible to others in IRC.", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);



More information about the telepathy-commits mailing list