aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2008-11-22 00:16:55 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:16:55 +0800
commit625867296e170d3f4edde9b3f1d59d08da99d37e (patch)
tree8de0e8a5bf83e534933bb9e2e38931578ff9a5ee /libempathy
parentb586f65b3426dcd186757a4256c0e4d5995ef5bc (diff)
downloadgsoc2013-empathy-625867296e170d3f4edde9b3f1d59d08da99d37e.tar
gsoc2013-empathy-625867296e170d3f4edde9b3f1d59d08da99d37e.tar.gz
gsoc2013-empathy-625867296e170d3f4edde9b3f1d59d08da99d37e.tar.bz2
gsoc2013-empathy-625867296e170d3f4edde9b3f1d59d08da99d37e.tar.lz
gsoc2013-empathy-625867296e170d3f4edde9b3f1d59d08da99d37e.tar.xz
gsoc2013-empathy-625867296e170d3f4edde9b3f1d59d08da99d37e.tar.zst
gsoc2013-empathy-625867296e170d3f4edde9b3f1d59d08da99d37e.zip
Removed SocketPath channel property. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1786
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-file.c19
1 files changed, 0 insertions, 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;