empathy r1786 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1786 - trunk/libempathy
- Date: Fri, 21 Nov 2008 16:16:55 +0000 (UTC)
Author: xclaesse
Date: Fri Nov 21 16:16:55 2008
New Revision: 1786
URL: http://svn.gnome.org/viewvc/empathy?rev=1786&view=rev
Log:
Removed SocketPath channel property. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
Modified:
trunk/libempathy/empathy-tp-file.c
Modified: trunk/libempathy/empathy-tp-file.c
==============================================================================
--- trunk/libempathy/empathy-tp-file.c (original)
+++ trunk/libempathy/empathy-tp-file.c Fri Nov 21 16:16:55 2008
@@ -379,9 +379,6 @@
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 @@
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]