diff options
author | Cosimo Cecchi <cosimo.cecchi@collabora.co.uk> | 2009-05-16 00:15:36 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-06-01 23:53:17 +0800 |
commit | 69765b1425c0ab80df655df5a5e7a96b707beee6 (patch) | |
tree | 3ea9bea85bc1d9f28ac65f5e42a291f24eca0efe /libempathy/empathy-ft-handler.h | |
parent | 0caac94000e5681e22e0938af94ed5ed4d3d206b (diff) | |
download | gsoc2013-empathy-69765b1425c0ab80df655df5a5e7a96b707beee6.tar gsoc2013-empathy-69765b1425c0ab80df655df5a5e7a96b707beee6.tar.gz gsoc2013-empathy-69765b1425c0ab80df655df5a5e7a96b707beee6.tar.bz2 gsoc2013-empathy-69765b1425c0ab80df655df5a5e7a96b707beee6.tar.lz gsoc2013-empathy-69765b1425c0ab80df655df5a5e7a96b707beee6.tar.xz gsoc2013-empathy-69765b1425c0ab80df655df5a5e7a96b707beee6.tar.zst gsoc2013-empathy-69765b1425c0ab80df655df5a5e7a96b707beee6.zip |
Adapt the code to the tp style.
Diffstat (limited to 'libempathy/empathy-ft-handler.h')
-rw-r--r-- | libempathy/empathy-ft-handler.h | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/libempathy/empathy-ft-handler.h b/libempathy/empathy-ft-handler.h index 7ad2a9308..b2d51719d 100644 --- a/libempathy/empathy-ft-handler.h +++ b/libempathy/empathy-ft-handler.h @@ -34,15 +34,18 @@ G_BEGIN_DECLS #define EMPATHY_TYPE_FT_HANDLER empathy_ft_handler_get_type() #define EMPATHY_FT_HANDLER(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_FT_HANDLER, EmpathyFTHandler)) + (G_TYPE_CHECK_INSTANCE_CAST ((obj), \ + EMPATHY_TYPE_FT_HANDLER, EmpathyFTHandler)) #define EMPATHY_FT_HANDLER_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST ((klass), EMPATHY_TYPE_FT_HANDLER, EmpathyFTHandlerClass)) + (G_TYPE_CHECK_CLASS_CAST ((klass), \ + EMPATHY_TYPE_FT_HANDLER, EmpathyFTHandlerClass)) #define EMPATHY_IS_FT_HANDLER(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_FT_HANDLER)) #define EMPATHY_IS_FT_HANDLER_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE ((klass), EMPATHY_TYPE_FT_HANDLER)) #define EMPATHY_FT_HANDLER_GET_CLASS(obj) \ - (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_FT_HANDLER, EmpathyFTHandlerClass)) + (G_TYPE_INSTANCE_GET_CLASS ((obj), \ + EMPATHY_TYPE_FT_HANDLER, EmpathyFTHandlerClass)) typedef struct { GObject parent; @@ -54,20 +57,24 @@ typedef struct { } EmpathyFTHandlerClass; typedef void (* EmpathyFTHandlerReadyCallback) (EmpathyFTHandler *handler, - GError *error, - gpointer user_data); + GError *error, + gpointer user_data); GType empathy_ft_handler_get_type (void); /* public methods */ void empathy_ft_handler_new_outgoing (EmpathyContact *contact, - GFile *source, gboolean use_hash, EmpathyFTHandlerReadyCallback callback, + GFile *source, + gboolean use_hash, + EmpathyFTHandlerReadyCallback callback, gpointer user_data); void empathy_ft_handler_new_incoming (EmpathyTpFile *tp_file, - EmpathyFTHandlerReadyCallback callback, gpointer user_data); + EmpathyFTHandlerReadyCallback callback, + gpointer user_data); void empathy_ft_handler_incoming_set_destination (EmpathyFTHandler *handler, - GFile *destination, gboolean use_hash); + GFile *destination, + gboolean use_hash); void empathy_ft_handler_start_transfer (EmpathyFTHandler *handler); void empathy_ft_handler_cancel_transfer (EmpathyFTHandler *handler); |