From f542337fdadd7d15e3e0de27e1b4650078f38301 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 16 Jan 2009 17:02:31 +0000 Subject: Removed extensions.h inclusion in public API. Signed-off-by: Jonny Lamb svn path=/trunk/; revision=2236 --- libempathy/empathy-dispatch-operation.c | 2 ++ libempathy/empathy-tp-file.c | 6 ++++-- libempathy/empathy-tp-file.h | 5 +---- 3 files changed, 7 insertions(+), 6 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-dispatch-operation.c b/libempathy/empathy-dispatch-operation.c index b9710dc0e..ee5b64d96 100644 --- a/libempathy/empathy-dispatch-operation.c +++ b/libempathy/empathy-dispatch-operation.c @@ -30,6 +30,8 @@ #include "empathy-marshal.h" +#include "extensions/extensions.h" + #define DEBUG_FLAG EMPATHY_DEBUG_DISPATCHER #include diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c index 96d8c8887..d02c052e3 100644 --- a/libempathy/empathy-tp-file.c +++ b/libempathy/empathy-tp-file.c @@ -43,6 +43,8 @@ #include "empathy-time.h" #include "empathy-utils.h" +#include "extensions/extensions.h" + #define DEBUG_FLAG EMPATHY_DEBUG_FT #include "empathy-debug.h" @@ -846,9 +848,9 @@ empathy_tp_file_is_incoming (EmpathyTpFile *tp_file) return tp_file->priv->incoming; } -EmpFileTransferState +guint empathy_tp_file_get_state (EmpathyTpFile *tp_file, - EmpFileTransferStateChangeReason *reason) + guint *reason) { g_return_val_if_fail (EMPATHY_IS_TP_FILE (tp_file), EMP_FILE_TRANSFER_STATE_NONE); diff --git a/libempathy/empathy-tp-file.h b/libempathy/empathy-tp-file.h index ad25eb275..966663f90 100644 --- a/libempathy/empathy-tp-file.h +++ b/libempathy/empathy-tp-file.h @@ -29,8 +29,6 @@ #include -#include - #include "empathy-contact.h" #include @@ -77,8 +75,7 @@ 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); -EmpFileTransferState empathy_tp_file_get_state (EmpathyTpFile *tp_file, - EmpFileTransferStateChangeReason *reason); +guint empathy_tp_file_get_state (EmpathyTpFile *tp_file, guint *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); -- cgit v1.2.3