From 31ea8cb41d30dddcbcc1ec07a4120027602c6319 Mon Sep 17 00:00:00 2001 From: panoplie <59100-panoplie@users.noreply.gitlab.gnome.org> Date: Sun, 11 Sep 2022 16:54:54 +0200 Subject: [PATCH] Rename secret_search_unlock_load_or_complete() This function does not unlock the keyring anymore so we remove the "unlock" term from its name. --- libsecret/secret-methods.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libsecret/secret-methods.c b/libsecret/secret-methods.c index 7618346..75dbed3 100644 --- a/libsecret/secret-methods.c +++ b/libsecret/secret-methods.c @@ -98,8 +98,8 @@ on_search_secrets (GObject *source, } static void -secret_search_unlock_load_or_complete (GTask *task, - SearchClosure *search) +secret_search_load_or_complete (GTask *task, + SearchClosure *search) { GCancellable *cancellable = g_task_get_cancellable (task); GList *items; @@ -141,7 +141,7 @@ on_search_loaded (GObject *source, /* We're done loading, lets go to the next step */ if (closure->loading == 0) - secret_search_unlock_load_or_complete (task, closure); + secret_search_load_or_complete (task, closure); g_clear_object (&task); } @@ -184,7 +184,7 @@ load_items (SearchClosure *closure, /* No items loading, complete operation now */ if (closure->loading == 0) - secret_search_unlock_load_or_complete (task, closure); + secret_search_load_or_complete (task, closure); } static void