Patch: Fix "connection-status-changed" signal
- From: Carl Simonson <simonsonc gmail com>
- To: tinymail-devel-list gnome org
- Subject: Patch: Fix "connection-status-changed" signal
- Date: Tue, 13 Oct 2009 16:42:54 -0500
The connection-status-changed signal was defined as having an integer for its
second argument. This change fixes it to be the TnyConnectionStatus enum type.
Carl Simonson
simonsonc gmail com
commit db5aa28f785a834e10b522c2b1148e4ec3cbbd90
Author: Carl Simonson <simonsonc gmail com>
Date: Tue Oct 13 10:25:59 2009 -0500
Fix "connection-status-changed" signal
The connection-status-changed signal was defined as having an integer for its
second argument. This change fixes it to be the TnyConnectionStatus enum type.
diff --git a/libtinymail/tny-account.c b/libtinymail/tny-account.c
index ea19515..a435dbe 100644
--- a/libtinymail/tny-account.c
+++ b/libtinymail/tny-account.c
@@ -1061,8 +1061,8 @@ tny_account_base_init (gpointer g_class)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (TnyAccountIface, connection_status_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__INT,
- G_TYPE_NONE, 1, G_TYPE_INT);
+ g_cclosure_marshal_VOID__ENUM,
+ G_TYPE_NONE, 1, TNY_TYPE_CONNECTION_STATUS);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]