diff --git a/SOURCES/0001-Removed-deprecated-code-form-yandex-provider.patch b/SOURCES/0001-Removed-deprecated-code-form-yandex-provider.patch new file mode 100644 index 0000000..4200d66 --- /dev/null +++ b/SOURCES/0001-Removed-deprecated-code-form-yandex-provider.patch @@ -0,0 +1,48 @@ +From c53ed2fcbef8a3a3a8add9d3164ebb324ec0a47c Mon Sep 17 00:00:00 2001 +From: Alexey Berezhok +Date: Wed, 3 Apr 2024 15:58:41 +0300 +Subject: [PATCH] Removed deprecated code form yandex provider + +--- + src/goabackend/goayandexprovider.c | 11 +---------- + 1 file changed, 1 insertion(+), 10 deletions(-) + +diff --git a/src/goabackend/goayandexprovider.c b/src/goabackend/goayandexprovider.c +index fc78421..f414164 100644 +--- a/src/goabackend/goayandexprovider.c ++++ b/src/goabackend/goayandexprovider.c +@@ -197,14 +197,6 @@ get_identity_sync (GoaOAuth2Provider *oauth2_provider, + + /* ---------------------------------------------------------------------------------------------------- */ + +-static gboolean +-is_identity_node (GoaOAuth2Provider *oauth2_provider, WebKitDOMHTMLInputElement *element) +-{ +- return FALSE; +-} +- +-/* ---------------------------------------------------------------------------------------------------- */ +- + static gboolean + build_object (GoaProvider *provider, + GoaObjectSkeleton *object, +@@ -270,7 +262,7 @@ build_object (GoaProvider *provider, + if (mail != NULL) + goa_object_skeleton_set_mail (object, NULL); + } +- ++ + /* Calendar */ + calendar_enabled = g_key_file_get_boolean (key_file, group, "CalendarEnabled", NULL); + uri_caldav = g_strconcat ("https://caldav.yandex.ru/", NULL); +@@ -370,7 +362,6 @@ goa_yandex_provider_class_init (GoaYandexProviderClass *klass) + oauth2_class->get_identity_sync = get_identity_sync; + oauth2_class->get_redirect_uri = get_redirect_uri; + oauth2_class->get_scope = get_scope; +- oauth2_class->is_identity_node = is_identity_node; + oauth2_class->get_token_uri = get_token_uri; + oauth2_class->add_account_key_values = add_account_key_values; + } +-- +2.31.1 +