[libsoup/carlosgc/auth-manager-authenticate] soup-auth-manager: remove authenticate signal




commit 035328e378e57d42bab75499b99667941af6a0a5
Author: Carlos Garcia Campos <cgarcia igalia com>
Date:   Wed Jun 1 12:09:46 2022 +0200

    soup-auth-manager: remove authenticate signal
    
    This is a leftover from the soup3 redesign. The plan was to move the
    authenticate signal from Session and SoupAuthManager to SoupMessage, but
    I forgot to remove the signal declaration from SoupAuthManager. There's
    no actual API break because we never emitted the signal, so this can't
    break anything.

 libsoup/auth/soup-auth-manager.c | 34 ----------------------------------
 1 file changed, 34 deletions(-)
---
diff --git a/libsoup/auth/soup-auth-manager.c b/libsoup/auth/soup-auth-manager.c
index 59535015..7e263a69 100644
--- a/libsoup/auth/soup-auth-manager.c
+++ b/libsoup/auth/soup-auth-manager.c
@@ -44,13 +44,6 @@
  **/
 static void soup_auth_manager_session_feature_init (SoupSessionFeatureInterface *feature_interface, gpointer 
interface_data);
 
-enum {
-       AUTHENTICATE,
-       LAST_SIGNAL
-};
-
-static guint signals[LAST_SIGNAL] = { 0 };
-
 struct _SoupAuthManager {
         GObject parent_instance;
 };
@@ -112,33 +105,6 @@ soup_auth_manager_class_init (SoupAuthManagerClass *auth_manager_class)
        GObjectClass *object_class = G_OBJECT_CLASS (auth_manager_class);
 
        object_class->finalize = soup_auth_manager_finalize;
-
-       /**
-        * SoupAuthManager::authenticate:
-        * @manager: the #SoupAuthManager
-        * @msg: the #SoupMessage being sent
-        * @auth: the #SoupAuth to authenticate
-        * @retrying: %TRUE if this is the second (or later) attempt
-        *
-        * Emitted when the manager requires the application to
-        * provide authentication credentials.
-        *
-        * [class@Message] connects to this signal and emits its own
-        * [signal@Message::authenticate] signal when it is emitted, so
-        * you shouldn't need to use this signal directly.
-        */
-       signals[AUTHENTICATE] =
-               g_signal_new ("authenticate",
-                             G_OBJECT_CLASS_TYPE (object_class),
-                             G_SIGNAL_RUN_FIRST,
-                             0,
-                             NULL, NULL,
-                             NULL,
-                             G_TYPE_NONE, 3,
-                             SOUP_TYPE_MESSAGE,
-                             SOUP_TYPE_AUTH,
-                             G_TYPE_BOOLEAN);
-
 }
 
 static int


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]