summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-08-29 16:55:06 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-04 13:28:30 +0100
commitd50b659542f829ccd411828a35a53c5f4678c581 (patch)
tree5f084c700dac4c77a29475d3a4f1d0bf0c64f9e6
parent7220e55986ca13ac14bb56bae51986e21be892af (diff)
downloadtelepathy-mission-control-d50b659542f829ccd411828a35a53c5f4678c581.tar.gz
Remove unused signal McdAccount::connection-process
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68712 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
-rw-r--r--src/mcd-account-connection.c16
-rw-r--r--src/mcd-account-priv.h1
-rw-r--r--src/mcd-account.c2
3 files changed, 0 insertions, 19 deletions
diff --git a/src/mcd-account-connection.c b/src/mcd-account-connection.c
index f03c5bf5..09b3a219 100644
--- a/src/mcd-account-connection.c
+++ b/src/mcd-account-connection.c
@@ -42,8 +42,6 @@ struct _McdAccountConnectionContext {
gboolean user_initiated;
};
-static guint _mcd_account_signal_connection_process = 0;
-
void
_mcd_account_connection_context_free (McdAccountConnectionContext *c)
{
@@ -133,8 +131,6 @@ mcd_account_connection_proceed_with_reason (McdAccount *account,
if (!delayed)
{
/* end of the chain */
- g_signal_emit (account, _mcd_account_signal_connection_process, 0,
- success);
if (success)
{
_mcd_account_connect (account, ctx->params);
@@ -155,15 +151,3 @@ mcd_account_connection_proceed (McdAccount *account, gboolean success)
mcd_account_connection_proceed_with_reason
(account, success, TP_CONNECTION_STATUS_REASON_NONE_SPECIFIED);
}
-
-inline void
-_mcd_account_connection_class_init (McdAccountClass *klass)
-{
- _mcd_account_signal_connection_process =
- g_signal_new ("connection-process",
- G_OBJECT_CLASS_TYPE (klass),
- G_SIGNAL_RUN_LAST,
- 0,
- NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN,
- G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
-}
diff --git a/src/mcd-account-priv.h b/src/mcd-account-priv.h
index 9063b1a3..7225d3e5 100644
--- a/src/mcd-account-priv.h
+++ b/src/mcd-account-priv.h
@@ -120,7 +120,6 @@ _mcd_account_write_conf (McdAccount *account)
G_GNUC_INTERNAL void _mcd_account_connection_begin (McdAccount *account,
gboolean user_initiated);
-G_GNUC_INTERNAL void _mcd_account_connection_class_init (McdAccountClass *klass);
extern const McdDBusProp account_channelrequests_properties[];
diff --git a/src/mcd-account.c b/src/mcd-account.c
index 4ca791cb..1ac70e4a 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -3757,8 +3757,6 @@ mcd_account_class_init (McdAccountClass * klass)
NULL, NULL, g_cclosure_marshal_VOID__STRING,
G_TYPE_NONE, 1, G_TYPE_STRING);
- _mcd_account_connection_class_init (klass);
-
account_ready_quark = g_quark_from_static_string ("mcd_account_load");
tp_proxy_or_subclass_hook_on_interface_add (TP_TYPE_CONNECTION_MANAGER,