]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-tp-file.h
Use tp-glib generated code for file transfers rather than extensions.
[empathy.git] / libempathy / empathy-tp-file.h
index 966663f90b7b5ed3ba5d2914a74721b7e6d05ec9..42c54e4f0b9373a368a458484acd0bb09cf5c669 100644 (file)
@@ -75,7 +75,8 @@ void empathy_tp_file_offer (EmpathyTpFile *tp_file, GFile *gfile,
 EmpathyContact *empathy_tp_file_get_contact (EmpathyTpFile *tp_file);
 const gchar *empathy_tp_file_get_filename (EmpathyTpFile *tp_file);
 gboolean empathy_tp_file_is_incoming (EmpathyTpFile *tp_file);
-guint empathy_tp_file_get_state (EmpathyTpFile *tp_file, guint *reason);
+TpFileTransferState empathy_tp_file_get_state (
+  EmpathyTpFile *tp_file, TpFileTransferStateChangeReason *reason);
 guint64 empathy_tp_file_get_size (EmpathyTpFile *tp_file);
 guint64 empathy_tp_file_get_transferred_bytes (EmpathyTpFile *tp_file);
 gint empathy_tp_file_get_remaining_time (EmpathyTpFile *tp_file);