From fd3018ae75c0c58ef484a3048c9f9f6134957ee2 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 21 Nov 2008 16:16:48 +0000 Subject: Updated yet more places to use s/direction/incoming/ (Jonny Lamb) Signed-off-by: Jonny Lamb svn path=/trunk/; revision=1784 --- libempathy/empathy-tp-file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c index 61f4e26da..f98f3c405 100644 --- a/libempathy/empathy-tp-file.c +++ b/libempathy/empathy-tp-file.c @@ -370,8 +370,8 @@ tp_file_constructor (GType type, priv->unix_socket_path = g_value_dup_string (g_hash_table_lookup (properties, "SocketPath")); - priv->direction = g_value_get_uint (g_hash_table_lookup (properties, - "Direction")); + if (priv->state == EMP_FILE_TRANSFER_STATE_LOCAL_PENDING) + priv->incoming = TRUE; g_hash_table_destroy (properties); -- cgit v1.2.3