diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2008-11-22 00:18:01 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-22 00:18:01 +0800 |
commit | 2885452639d3eb70aac6392e63526babe9c0766a (patch) | |
tree | ebe71909100b86f0cfc667a3dc85c47e47a420d5 /src | |
parent | efbf766fa6201b6157e2c905f50add0684ed124e (diff) | |
download | gsoc2013-empathy-2885452639d3eb70aac6392e63526babe9c0766a.tar gsoc2013-empathy-2885452639d3eb70aac6392e63526babe9c0766a.tar.gz gsoc2013-empathy-2885452639d3eb70aac6392e63526babe9c0766a.tar.bz2 gsoc2013-empathy-2885452639d3eb70aac6392e63526babe9c0766a.tar.lz gsoc2013-empathy-2885452639d3eb70aac6392e63526babe9c0766a.tar.xz gsoc2013-empathy-2885452639d3eb70aac6392e63526babe9c0766a.tar.zst gsoc2013-empathy-2885452639d3eb70aac6392e63526babe9c0766a.zip |
Removed account property of EmpathyTpFile as it's only actually used once and easy obtainable. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1803
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-event-manager.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index 61d2fe9f8..71840f0e0 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -208,11 +208,9 @@ file_channel_state_cb (TpProxy *proxy, EMP_FILE_TRANSFER_STATE_LOCAL_PENDING) { EmpathyContact *contact; gchar *msg; - McAccount *account; EmpathyTpFile *tp_file; - account = empathy_channel_get_account (channel); - tp_file = empathy_tp_file_new (account, channel); + tp_file = empathy_tp_file_new (channel); contact = empathy_tp_file_get_contact (tp_file); empathy_contact_run_until_ready (contact, |