summaryrefslogtreecommitdiff
path: root/src/protocol.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-01-04 16:26:04 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-01-04 16:26:04 +0000
commit58aefe4ef8d5d1194725f340e353de853b21bef6 (patch)
tree50f6ecba34d68a7cbd0a6ca3f0a729ef7d35b91a /src/protocol.c
parentc9779d896a77f96f8aa582113984ba722ff65eb0 (diff)
downloadtelepathy-salut-58aefe4ef8d5d1194725f340e353de853b21bef6.tar.gz
Don't use sealed struct members
This exposes a bug in the tests: several tests assumed that tubes' Interfaces would always come out in the same order, but the new APIs we're using break that assumption. Fix that too.
Diffstat (limited to 'src/protocol.c')
-rw-r--r--src/protocol.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/protocol.c b/src/protocol.c
index 3b817402..4295451b 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -137,12 +137,6 @@ identify_account (TpBaseProtocol *self G_GNUC_UNUSED,
return g_strdup ("");
}
-static GStrv
-get_interfaces (TpBaseProtocol *self)
-{
- return g_new0 (gchar *, 1);
-}
-
static void
get_connection_details (TpBaseProtocol *self,
GStrv *connection_interfaces,
@@ -293,7 +287,6 @@ salut_protocol_class_init (SalutProtocolClass *klass)
base_class->new_connection = new_connection;
base_class->normalize_contact = normalize_contact;
base_class->identify_account = identify_account;
- base_class->get_interfaces = get_interfaces;
base_class->get_connection_details = get_connection_details;
object_class->get_property = salut_protocol_get_property;