summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-04-26 13:13:05 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-04-26 13:14:18 +0100
commit11a9b7cd979c1d3df9d14cb2bf5754523ae499dc (patch)
tree812820ac6b0a304a845126b909849519825d0d6b
parentb90e0066aed9f45fd846f575c3dc37339b45c187 (diff)
status: don't try and set a non-existant property
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--telepathy-ytstenut-glib/status.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/telepathy-ytstenut-glib/status.c b/telepathy-ytstenut-glib/status.c
index 5424129..8eadcf2 100644
--- a/telepathy-ytstenut-glib/status.c
+++ b/telepathy-ytstenut-glib/status.c
@@ -487,14 +487,13 @@ on_connection_future_ensure_sidecar_returned (GObject *source_object,
gpointer user_data)
{
GSimpleAsyncResult *res = G_SIMPLE_ASYNC_RESULT (user_data);
- GHashTable *immutable_properties;
gchar *object_path;
GError *error = NULL;
g_return_if_fail (TP_IS_CONNECTION (source_object));
object_path = _tp_yts_connection_future_ensure_sidecar_finish (
- TP_CONNECTION (source_object), result, &immutable_properties, &error);
+ TP_CONNECTION (source_object), result, NULL, &error);
if (error != NULL)
{
@@ -511,10 +510,8 @@ on_connection_future_ensure_sidecar_returned (GObject *source_object,
"dbus-connection", tp_proxy_get_dbus_connection (source_object),
"bus-name", tp_proxy_get_bus_name (source_object),
"object-path", object_path,
- "immutable-properties", immutable_properties,
NULL);
- g_hash_table_unref (immutable_properties);
g_free (object_path);
}