aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-dispatcher.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:23:02 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:23:02 +0800
commit2f6a0562f6b163cbbd8df706ade46802ab02c1d5 (patch)
treec7876efe1be33e0db7a7dbf841187ea87247a6c3 /libempathy/empathy-dispatcher.c
parent0ec0fd88d836a9c72df629d410ed7eeb5a60d540 (diff)
downloadgsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.tar
gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.tar.gz
gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.tar.bz2
gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.tar.lz
gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.tar.xz
gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.tar.zst
gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.zip
empathy_tp_file_accept/offer takes the GFile in param and return a GError if the file can't be opened.
svn path=/trunk/; revision=1881
Diffstat (limited to 'libempathy/empathy-dispatcher.c')
-rw-r--r--libempathy/empathy-dispatcher.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 1d7578d2c..1ba3adf3c 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -958,8 +958,7 @@ file_channel_create_cb (TpConnection *connection,
NULL);
tp_file = empathy_tp_file_new (channel);
- empathy_tp_file_set_gfile (tp_file, request->gfile, NULL);
- empathy_tp_file_offer (tp_file);
+ empathy_tp_file_offer (tp_file, request->gfile, NULL);
g_object_unref (request->gfile);
g_slice_free (FileChannelRequest, request);