aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:21:28 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:21:28 +0800
commit0045df6b695213ccf7d67e4abbbd89b3a9da8c7c (patch)
treea49c38729e463f7d768f3ecea144fc4d560a20cb /libempathy
parent3695aee3cd0cac3cb0014e563208be00f4793d68 (diff)
downloadgsoc2013-empathy-0045df6b695213ccf7d67e4abbbd89b3a9da8c7c.tar
gsoc2013-empathy-0045df6b695213ccf7d67e4abbbd89b3a9da8c7c.tar.gz
gsoc2013-empathy-0045df6b695213ccf7d67e4abbbd89b3a9da8c7c.tar.bz2
gsoc2013-empathy-0045df6b695213ccf7d67e4abbbd89b3a9da8c7c.tar.lz
gsoc2013-empathy-0045df6b695213ccf7d67e4abbbd89b3a9da8c7c.tar.xz
gsoc2013-empathy-0045df6b695213ccf7d67e4abbbd89b3a9da8c7c.tar.zst
gsoc2013-empathy-0045df6b695213ccf7d67e4abbbd89b3a9da8c7c.zip
empathy-tp-file: reorder FileTransfer D-Bus properties using the same order as in the spec
svn path=/trunk/; revision=1857
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-file.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c
index e424bdfb7..9cfdb3371 100644
--- a/libempathy/empathy-tp-file.c
+++ b/libempathy/empathy-tp-file.c
@@ -283,18 +283,21 @@ struct _EmpathyTpFilePriv {
GFile *gfile;
GInputStream *in_stream;
GOutputStream *out_stream;
- gboolean incoming;
- gchar *filename;
+
+ /* org.freedesktop.Telepathy.Channel.Type.FileTransfer D-Bus properties */
EmpFileTransferState state;
- EmpFileTransferStateChangeReason state_change_reason;
+ gchar *content_type;
+ gchar *filename;
guint64 size;
+ EmpFileHashType content_hash_type;
+ gchar *content_hash;
+ gchar *description;
guint64 transferred_bytes;
+
+ gboolean incoming;
+ EmpFileTransferStateChangeReason state_change_reason;
time_t start_time;
gchar *unix_socket_path;
- gchar *content_hash;
- EmpFileHashType content_hash_type;
- gchar *content_type;
- gchar *description;
GCancellable *cancellable;
};