aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-ft-handler.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-02-09 22:22:08 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:46:04 +0800
commit32ea1c4f65f1b38226c6a4216e9271dfbaa12879 (patch)
tree652b05adacb227e8253a3edd3ae478db67f732ec /libempathy/empathy-ft-handler.c
parentea8aee8ccab439709ef69899512635662b480f5c (diff)
downloadgsoc2013-empathy-32ea1c4f65f1b38226c6a4216e9271dfbaa12879.tar
gsoc2013-empathy-32ea1c4f65f1b38226c6a4216e9271dfbaa12879.tar.gz
gsoc2013-empathy-32ea1c4f65f1b38226c6a4216e9271dfbaa12879.tar.bz2
gsoc2013-empathy-32ea1c4f65f1b38226c6a4216e9271dfbaa12879.tar.lz
gsoc2013-empathy-32ea1c4f65f1b38226c6a4216e9271dfbaa12879.tar.xz
gsoc2013-empathy-32ea1c4f65f1b38226c6a4216e9271dfbaa12879.tar.zst
gsoc2013-empathy-32ea1c4f65f1b38226c6a4216e9271dfbaa12879.zip
Fix the build.
Diffstat (limited to 'libempathy/empathy-ft-handler.c')
-rw-r--r--libempathy/empathy-ft-handler.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index 193b8d603..9c5243a91 100644
--- a/libempathy/empathy-ft-handler.c
+++ b/libempathy/empathy-ft-handler.c
@@ -27,6 +27,7 @@
#include "empathy-ft-handler.h"
#include "empathy-dispatcher.h"
+#include "empathy-marshal.h"
#include "empathy-utils.h"
G_DEFINE_TYPE (EmpathyFTHandler, empathy_ft_handler, G_TYPE_OBJECT)
@@ -49,6 +50,7 @@ enum {
TRANSFER_PROGRESS,
TRANSFER_DONE,
TRANSFER_ERROR,
+ LAST_SIGNAL
};
typedef struct {
@@ -75,6 +77,8 @@ typedef struct {
GCancellable *cancellable;
} EmpathyFTHandlerPriv;
+static guint signals[LAST_SIGNAL] = { 0 };
+
/* prototypes */
static void schedule_hash_chunk (HashingData *hash_data);
@@ -157,7 +161,7 @@ do_dispose (GObject *object)
g_object_unref (priv->cancellable);
priv->cancellable = NULL;
}
-
+
G_OBJECT_CLASS (empathy_ft_handler_parent_class)->dispose (object);
}
@@ -217,7 +221,7 @@ empathy_ft_handler_class_init (EmpathyFTHandlerClass *klass)
signals[TRANSFER_ERROR] =
g_signal_new ("transfer-error", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST, 0, NULL, NULL,
- g_cclosure_marshal_VOID__OBJECT_POINTER,
+ _empathy_marshal_VOID__OBJECT_POINTER,
G_TYPE_NONE,
2, EMPATHY_TYPE_TP_FILE, G_TYPE_POINTER);