telepathy-mission-control: Remove unused signal McdAccount:: connection-process
Simon McVittie
smcv at kemper.freedesktop.org
Wed Sep 4 05:38:36 PDT 2013
Module: telepathy-mission-control
Branch: master
Commit: d50b659542f829ccd411828a35a53c5f4678c581
URL: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=d50b659542f829ccd411828a35a53c5f4678c581
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Thu Aug 29 16:55:06 2013 +0100
Remove unused signal McdAccount::connection-process
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68712
Signed-off-by: Simon McVittie <simon.mcvittie at collabora.co.uk>
Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
---
src/mcd-account-connection.c | 16 ----------------
src/mcd-account-priv.h | 1 -
src/mcd-account.c | 2 --
3 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/src/mcd-account-connection.c b/src/mcd-account-connection.c
index f03c5bf..09b3a21 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 9063b1a..7225d3e 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 4ca791c..1ac70e4 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,
More information about the telepathy-commits
mailing list