diff options
author | Cosimo Cecchi <cosimo.cecchi@collabora.co.uk> | 2009-02-05 19:24:47 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-06-01 23:46:03 +0800 |
commit | b470c2894387a2156e4e576137611ba77d1fe5f5 (patch) | |
tree | 896ebd0cf920e8aa052ae44a6396af1851d601d0 /libempathy/empathy-ft-factory.c | |
parent | 8bea8f7c36646481454a3f5c0b5db6598ba006fd (diff) | |
download | gsoc2013-empathy-b470c2894387a2156e4e576137611ba77d1fe5f5.tar gsoc2013-empathy-b470c2894387a2156e4e576137611ba77d1fe5f5.tar.gz gsoc2013-empathy-b470c2894387a2156e4e576137611ba77d1fe5f5.tar.bz2 gsoc2013-empathy-b470c2894387a2156e4e576137611ba77d1fe5f5.tar.lz gsoc2013-empathy-b470c2894387a2156e4e576137611ba77d1fe5f5.tar.xz gsoc2013-empathy-b470c2894387a2156e4e576137611ba77d1fe5f5.tar.zst gsoc2013-empathy-b470c2894387a2156e4e576137611ba77d1fe5f5.zip |
Implement hashing of the file. Make it compile.
Diffstat (limited to 'libempathy/empathy-ft-factory.c')
-rw-r--r-- | libempathy/empathy-ft-factory.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/libempathy/empathy-ft-factory.c b/libempathy/empathy-ft-factory.c index 0356c32b6..5d8e62b22 100644 --- a/libempathy/empathy-ft-factory.c +++ b/libempathy/empathy-ft-factory.c @@ -21,18 +21,21 @@ /* empathy-ft-factory.c */ +#include <glib.h> + #include "empathy-ft-factory.h" +#include "empathy-ft-handler.h" #include "empathy-marshal.h" #include "empathy-utils.h" G_DEFINE_TYPE (EmpathyFTFactory, empathy_ft_factory, G_TYPE_OBJECT); -#define GET_PRIV(obj) EMPATHY_GET_PRIV (obj, EmpathyFTFactoryPriv) +#define GET_PRIV(obj) EMPATHY_GET_PRIV (obj, EmpathyFTFactory) enum { NEW_FT_HANDLER, LAST_SIGNAL -} +}; typedef struct { gboolean dispose_run; @@ -93,7 +96,7 @@ empathy_ft_factory_class_init (EmpathyFTFactoryClass *klass) signals[NEW_FT_HANDLER] = g_signal_new ("new-ft-handler", - G_TYPE_FROM_CLASS (empathy_call_factory_class), + G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, 0, NULL, NULL, _empathy_marshal_VOID__OBJECT_BOOLEAN, @@ -139,8 +142,8 @@ void empathy_ft_factory_claim_channel (EmpathyFTFactory *factory, EmpathyDispatchOperation *operation) { - g_return_val_if_fail (EMPATHY_IS_FACTORY (factory)); - g_return_val_if_fail (EMPATHY_IS_DISPATCH_OPERATION (operation)); + g_return_if_fail (EMPATHY_IS_FT_FACTORY (factory)); + g_return_if_fail (EMPATHY_IS_DISPATCH_OPERATION (operation)); /* TODO */ } |