From: Jonny Lamb Date: Fri, 16 Jan 2009 17:02:31 +0000 (+0000) Subject: Removed extensions.h inclusion in public API. X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=f542337fdadd7d15e3e0de27e1b4650078f38301 Removed extensions.h inclusion in public API. Signed-off-by: Jonny Lamb svn path=/trunk/; revision=2236 --- diff --git a/libempathy/empathy-dispatch-operation.c b/libempathy/empathy-dispatch-operation.c index b9710dc0..ee5b64d9 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 96d8c888..d02c052e 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 ad25eb27..966663f9 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); diff --git a/src/empathy-ft-manager.c b/src/empathy-ft-manager.c index e8449507..3036e512 100644 --- a/src/empathy-ft-manager.c +++ b/src/empathy-ft-manager.c @@ -46,6 +46,8 @@ #include "empathy-ft-manager.h" +#include "extensions/extensions.h" + /** * SECTION:empathy-ft-manager * @short_description: File transfer dialog diff --git a/src/empathy.c b/src/empathy.c index fae4611a..1676eb28 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -56,6 +56,8 @@ #include "empathy-ft-manager.h" #include "bacon-message-connection.h" +#include "extensions/extensions.h" + #define DEBUG_FLAG EMPATHY_DEBUG_OTHER #include