--- a/libpurple/connection.c Thu Apr 11 02:17:44 2024 -0500 +++ b/libpurple/connection.c Thu Apr 11 02:57:34 2024 -0500 @@ -683,41 +683,6 @@ } /************************************************************************** - * PurpleConnection Implementation - **************************************************************************/ -static gboolean -purple_connection_default_connect(PurpleConnection *connection, - G_GNUC_UNUSED GError **error) -{ - PurpleConnectionPrivate *priv = NULL; - - priv = purple_connection_get_instance_private(connection); - - purple_protocol_login(priv->protocol, priv->account); - - return TRUE; -} - -static gboolean -purple_connection_default_disconnect(PurpleConnection *connection, - G_GNUC_UNUSED GError **error) -{ - PurpleConnectionPrivate *priv = NULL; - - priv = purple_connection_get_instance_private(connection); - - /* Tell everyone we're shutting down. */ - if(G_IS_CANCELLABLE(priv->cancellable)) { - g_cancellable_cancel(priv->cancellable); - g_clear_object(&priv->cancellable); - } - - purple_protocol_close(priv->protocol, connection); - - return TRUE; -} - -/************************************************************************** * GObject Implementation **************************************************************************/ static void @@ -877,9 +842,6 @@ obj_class->finalize = purple_connection_finalize; obj_class->constructed = purple_connection_constructed; - klass->connect = purple_connection_default_connect; - klass->disconnect = purple_connection_default_disconnect; - /** * PurpleConnection:id: *