diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-02-22 17:32:27 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-02-22 17:32:27 +0100 |
commit | 2bb26608f735b6fc90c06a56793e1cf6e164830a (patch) | |
tree | 0b7ca7dcaaeb737b7e539ce4c3992d18c6949370 /src/publishing/PublishingPluginHost.vala | |
parent | 5c6c59a0325c2f3cc611b8186ac289d011c14369 (diff) | |
parent | 5303f650e34763817d7eeb1d3ba774bdec3e1a38 (diff) |
Update upstream source from tag 'upstream/0.32.6'
Update to upstream version '0.32.6'
with Debian dir 5219d541f047c3ea70dcf1edb7897dd0a7dedfb1
Diffstat (limited to 'src/publishing/PublishingPluginHost.vala')
-rw-r--r-- | src/publishing/PublishingPluginHost.vala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/publishing/PublishingPluginHost.vala b/src/publishing/PublishingPluginHost.vala index 7804924..88b99e7 100644 --- a/src/publishing/PublishingPluginHost.vala +++ b/src/publishing/PublishingPluginHost.vala @@ -33,6 +33,14 @@ public class ConcretePublishingHost : Plugins.StandardHostInterface, this.active_publisher = service.create_publisher_with_account(this, account); } + public void register_auth_callback(string cookie, AuthenticatedCallback callback) { + Application.register_auth_callback(cookie, callback); + } + + public void unregister_auth_callback(string cookie) { + Application.unregister_auth_callback(cookie); + } + public string get_current_profile_id() { return Shotwell.ProfileManager.get_instance().id(); } |