[evolution-ews] EEwsConnection: Remove unused "authenticate" signal.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] EEwsConnection: Remove unused "authenticate" signal.
- Date: Sun, 19 Aug 2012 18:19:29 +0000 (UTC)
commit 6e584ab41203e030f18bfb28e40c8f1dd977e4c0
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Aug 19 08:13:31 2012 -0400
EEwsConnection: Remove unused "authenticate" signal.
src/server/e-ews-connection.c | 26 --------------------------
src/server/e-ews-connection.h | 2 --
2 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/src/server/e-ews-connection.c b/src/server/e-ews-connection.c
index 4924a96..3834323 100644
--- a/src/server/e-ews-connection.c
+++ b/src/server/e-ews-connection.c
@@ -97,13 +97,6 @@ enum {
PROP_SETTINGS
};
-enum {
- AUTHENTICATE,
- LAST_SIGNAL
-};
-
-static guint signals[LAST_SIGNAL];
-
typedef struct _EwsNode EwsNode;
typedef struct _EwsAsyncData EwsAsyncData;
@@ -1387,8 +1380,6 @@ e_ews_connection_class_init (EEwsConnectionClass *class)
object_class->dispose = ews_connection_dispose;
object_class->finalize = ews_connection_finalize;
- class->authenticate = NULL;
-
g_object_class_install_property (
object_class,
PROP_PASSWORD,
@@ -1411,19 +1402,6 @@ e_ews_connection_class_init (EEwsConnectionClass *class)
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS));
-
- /**
- * EEwsConnection::authenticate
- **/
- signals[AUTHENTICATE] = g_signal_new (
- "authenticate",
- G_OBJECT_CLASS_TYPE (class),
- G_SIGNAL_RUN_FIRST,
- G_STRUCT_OFFSET (EEwsConnectionClass, authenticate),
- NULL, NULL,
- ews_marshal_VOID__OBJECT_OBJECT_BOOLEAN,
- G_TYPE_NONE, 3,
- SOUP_TYPE_MESSAGE, SOUP_TYPE_AUTH, G_TYPE_BOOLEAN);
}
static void
@@ -1506,10 +1484,6 @@ ews_connection_authenticate (SoupSession *sess,
if (password != NULL)
soup_auth_authenticate (auth, user, password);
- else
- g_signal_emit (
- cnc, signals[AUTHENTICATE], 0,
- msg, auth, retrying);
g_free (password);
g_free (user);
diff --git a/src/server/e-ews-connection.h b/src/server/e-ews-connection.h
index 646de20..8741b5b 100644
--- a/src/server/e-ews-connection.h
+++ b/src/server/e-ews-connection.h
@@ -65,8 +65,6 @@ struct _EEwsConnection {
struct _EEwsConnectionClass {
GObjectClass parent_class;
-
- void (*authenticate) (EEwsConnection *cnc);
};
enum {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]