From 52713145256ff4e108c8805e43c87eb2e4f74a38 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 29 Aug 2013 16:55:06 +0100 Subject: [PATCH 16/16] Remove unused signal McdAccount::connection-process --- src/mcd-account-connection.c | 16 ---------------- src/mcd-account-priv.h | 1 - src/mcd-account.c | 2 -- 3 files changed, 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 82f37a7..ecc3075 100644 --- a/src/mcd-account.c +++ b/src/mcd-account.c @@ -3756,8 +3756,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, -- 1.8.4.rc3