aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/secrets.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/net/secrets.el b/lisp/net/secrets.el
index 22a4e8c7b0a..45c98cae60d 100644
--- a/lisp/net/secrets.el
+++ b/lisp/net/secrets.el
@@ -575,7 +575,6 @@ If successful, return the object path of the collection."
575(defun secrets-get-items (collection-path) 575(defun secrets-get-items (collection-path)
576 "Return the object paths of all available items in COLLECTION-PATH." 576 "Return the object paths of all available items in COLLECTION-PATH."
577 (unless (secrets-empty-path collection-path) 577 (unless (secrets-empty-path collection-path)
578 (secrets-open-session)
579 (dbus-get-property 578 (dbus-get-property
580 :session secrets-service collection-path 579 :session secrets-service collection-path
581 secrets-interface-collection "Items"))) 580 secrets-interface-collection "Items")))
@@ -911,6 +910,8 @@ to their attributes."
911 910
912(when (dbus-ping :session secrets-service 100) 911(when (dbus-ping :session secrets-service 100)
913 912
913 (secrets-open-session)
914
914 ;; We must reset all variables, when there is a new instance of the 915 ;; We must reset all variables, when there is a new instance of the
915 ;; "org.freedesktop.secrets" service. 916 ;; "org.freedesktop.secrets" service.
916 (dbus-register-signal 917 (dbus-register-signal