summaryrefslogtreecommitdiff
path: root/src/publishing/PublishingPluginHost.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-03-24 09:24:40 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-03-24 09:24:40 +0100
commit734fc45fc296a4b6cfa303329023c24e026f35df (patch)
tree30038fff46b2fdf3fde9f20a538993cf2ed23fc8 /src/publishing/PublishingPluginHost.vala
parent14bc7db2e07c5d1ccfb4d723c9dba395e6c93171 (diff)
parentdde66becd94817998e320c7ace72729af7455345 (diff)
Merge branch 'release/debian/0.36.6-1'debian/0.36.6-1
Diffstat (limited to 'src/publishing/PublishingPluginHost.vala')
-rw-r--r--src/publishing/PublishingPluginHost.vala8
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();
}