[telepathy-mission-control/master] McdAccount: move signals to .c
Simon McVittie
simon.mcvittie at collabora.co.uk
Wed Apr 15 05:32:34 PDT 2009
---
src/mcd-account-priv.h | 15 ---------------
src/mcd-account.c | 13 ++++++++++++-
2 files changed, 12 insertions(+), 16 deletions(-)
diff --git a/src/mcd-account-priv.h b/src/mcd-account-priv.h
index 597f279..1083c9b 100644
--- a/src/mcd-account-priv.h
+++ b/src/mcd-account-priv.h
@@ -31,21 +31,6 @@
#include "mcd-account-config.h"
#include "mcd-dbusprop.h"
-enum
-{
- CONNECTION_STATUS_CHANGED,
- CURRENT_PRESENCE_CHANGED,
- REQUESTED_PRESENCE_CHANGED,
- VALIDITY_CHANGED,
- AVATAR_CHANGED,
- ALIAS_CHANGED,
- CONNECTION_PROCESS,
- PROFILE_SET,
- LAST_SIGNAL
-};
-
-extern guint _mcd_account_signals[LAST_SIGNAL];
-
G_GNUC_INTERNAL void _mcd_account_connect (McdAccount *account,
GHashTable *params);
diff --git a/src/mcd-account.c b/src/mcd-account.c
index 235068b..5ec4b3d 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -155,7 +155,18 @@ enum
PROP_NAME,
};
-guint _mcd_account_signals[LAST_SIGNAL] = { 0 };
+enum
+{
+ CONNECTION_STATUS_CHANGED,
+ CURRENT_PRESENCE_CHANGED,
+ REQUESTED_PRESENCE_CHANGED,
+ VALIDITY_CHANGED,
+ AVATAR_CHANGED,
+ ALIAS_CHANGED,
+ LAST_SIGNAL
+};
+
+static guint _mcd_account_signals[LAST_SIGNAL] = { 0 };
static GQuark account_ready_quark = 0;
/*
--
1.5.6.5
More information about the telepathy-commits
mailing list