aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-11-22 00:21:28 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-11-22 00:21:28 +0800
commit50a5016da82922d87576b76e5df92390a64effcc (patch)
treea49c38729e463f7d768f3ecea144fc4d560a20cb
parentfa94ead9fb53704ee84890cce95697f4e0b7a0fd (diff)
downloadgsoc2013-empathy-50a5016da82922d87576b76e5df92390a64effcc.tar
gsoc2013-empathy-50a5016da82922d87576b76e5df92390a64effcc.tar.gz
gsoc2013-empathy-50a5016da82922d87576b76e5df92390a64effcc.tar.bz2
gsoc2013-empathy-50a5016da82922d87576b76e5df92390a64effcc.tar.lz
gsoc2013-empathy-50a5016da82922d87576b76e5df92390a64effcc.tar.xz
gsoc2013-empathy-50a5016da82922d87576b76e5df92390a64effcc.tar.zst
gsoc2013-empathy-50a5016da82922d87576b76e5df92390a64effcc.zip
empathy-tp-file: reorder FileTransfer D-Bus properties using the same order as in the spec
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1857 4ee84921-47dd-4033-b63a-18d7a039a3e4
-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;
};