summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2014-04-08 13:34:24 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-04-10 13:26:55 +0100
commitd65b48456efc4d3e5a7f3936f33fe8cd48be00ef (patch)
tree9a0f14766378e16591a8ce8e1dbf015dcc2f95b2
parentb6b4a2ec4b1ddbf9ae4856e2fe172f9cc52a5c08 (diff)
simple-conn: don't reimplement dbus-status
This used to be done so we could emulate a connection manager older than telepathy-spec 0.19.2, but that functionality was removed in commit 347307b7. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77187 Reviewed-by: Xavier Claessens
-rw-r--r--tests/lib/simple-conn.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/tests/lib/simple-conn.c b/tests/lib/simple-conn.c
index 9acea0a9d..be1934de7 100644
--- a/tests/lib/simple-conn.c
+++ b/tests/lib/simple-conn.c
@@ -33,7 +33,6 @@ G_DEFINE_TYPE_WITH_CODE (TpTestsSimpleConnection, tp_tests_simple_connection,
enum
{
PROP_ACCOUNT = 1,
- PROP_DBUS_STATUS,
N_PROPS
};
@@ -70,12 +69,7 @@ get_property (GObject *object,
case PROP_ACCOUNT:
g_value_set_string (value, self->priv->account);
break;
- case PROP_DBUS_STATUS:
- {
- g_value_set_uint (value,
- tp_base_connection_get_status (TP_BASE_CONNECTION (self)));
- }
- break;
+
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, spec);
}
@@ -277,14 +271,6 @@ tp_tests_simple_connection_class_init (TpTestsSimpleConnectionClass *klass)
"The username of this user", NULL,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_ACCOUNT, param_spec);
-
- param_spec = g_param_spec_uint ("dbus-status",
- "Connection.Status",
- "The connection status as visible on D-Bus (overridden so can break it)",
- TP_CONNECTION_STATUS_CONNECTED, G_MAXUINT,
- TP_CONNECTION_STATUS_DISCONNECTED,
- G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
- g_object_class_install_property (object_class, PROP_DBUS_STATUS, param_spec);
}
void