From 7b771c7fe5ec0f01ee960d2c8e8e05e1122b2da6 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 21 Nov 2008 16:24:36 +0000 Subject: Fix ref counting of tp_file, make it singleton per channel, and add a _keep_alive method that adds a tmp ref until the transfer finishes. svn path=/trunk/; revision=1904 --- libempathy/empathy-tp-file.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libempathy/empathy-tp-file.h') diff --git a/libempathy/empathy-tp-file.h b/libempathy/empathy-tp-file.h index 7c656d2aa..e6c0dae7d 100644 --- a/libempathy/empathy-tp-file.h +++ b/libempathy/empathy-tp-file.h @@ -72,6 +72,7 @@ void empathy_tp_file_accept (EmpathyTpFile *tp_file, guint64 offset, void empathy_tp_file_cancel (EmpathyTpFile *tp_file); void empathy_tp_file_offer (EmpathyTpFile *tp_file, GFile *gfile, GError **error); +void empathy_tp_file_keep_alive (EmpathyTpFile *tp_file); guint64 empathy_tp_file_get_transferred_bytes (EmpathyTpFile *tp_file); EmpathyContact *empathy_tp_file_get_contact (EmpathyTpFile *tp_file); -- cgit v1.2.3