From 625867296e170d3f4edde9b3f1d59d08da99d37e Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 21 Nov 2008 16:16:55 +0000 Subject: Removed SocketPath channel property. (Jonny Lamb) Signed-off-by: Jonny Lamb svn path=/trunk/; revision=1786 --- libempathy/empathy-tp-file.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c index 13048a92c..c64c0e2f8 100644 --- a/libempathy/empathy-tp-file.c +++ b/libempathy/empathy-tp-file.c @@ -379,9 +379,6 @@ tp_file_constructor (GType type, priv->description = g_value_dup_string (g_hash_table_lookup (properties, "Description")); - priv->unix_socket_path = g_value_dup_string (g_hash_table_lookup (properties, - "SocketPath")); - if (priv->state == EMP_FILE_TRANSFER_STATE_LOCAL_PENDING) priv->incoming = TRUE; @@ -591,25 +588,9 @@ _get_local_socket (EmpathyTpFile *tp_file) size_t path_len; struct sockaddr_un addr; EmpathyTpFilePriv *priv; - GValue *socket_path; priv = GET_PRIV (tp_file); - /* TODO: This could probably be a little nicer. */ - tp_cli_dbus_properties_run_get (priv->channel, - -1, - EMP_IFACE_CHANNEL_TYPE_FILE, - "SocketPath", - &socket_path, - NULL, - NULL); - - if (priv->unix_socket_path) - g_free (priv->unix_socket_path); - - priv->unix_socket_path = g_value_dup_string (socket_path); - g_value_unset (socket_path); - if (G_STR_EMPTY (priv->unix_socket_path)) return -1; -- cgit v1.2.3