[vala/0.44] webkit2gtk-4.0: Fix WebContext.initialize_notification_permissions()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.44] webkit2gtk-4.0: Fix WebContext.initialize_notification_permissions()
- Date: Mon, 5 Aug 2019 07:17:18 +0000 (UTC)
commit 2878f0590a752b525d6ba2d5efeda922e94bd9f7
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Jul 18 20:52:35 2019 +0200
webkit2gtk-4.0: Fix WebContext.initialize_notification_permissions()
Bind it as WebContext.init_notification_permissions() to avoid conflict.
vapi/metadata/WebKit2-4.0.metadata | 2 ++
vapi/webkit2gtk-4.0.vapi | 4 +++-
2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/vapi/metadata/WebKit2-4.0.metadata b/vapi/metadata/WebKit2-4.0.metadata
index 003ced627..3a7afa03f 100644
--- a/vapi/metadata/WebKit2-4.0.metadata
+++ b/vapi/metadata/WebKit2-4.0.metadata
@@ -10,6 +10,8 @@ JavascriptResult
.get_js_value type="unowned JSC.Value"
PrintOperation
.failed#signal.error type="WebKit.PrintError"
+WebContext
+ .initialize_notification_permissions#method name="init_notification_permissions"
WebResource
.failed#signal.error type="GLib.Error"
WebView
diff --git a/vapi/webkit2gtk-4.0.vapi b/vapi/webkit2gtk-4.0.vapi
index bb58797f3..ab6cce319 100644
--- a/vapi/webkit2gtk-4.0.vapi
+++ b/vapi/webkit2gtk-4.0.vapi
@@ -1001,6 +1001,9 @@ namespace WebKit {
public uint get_web_process_count_limit ();
[Version (since = "2.10")]
public unowned WebKit.WebsiteDataManager get_website_data_manager ();
+ [CCode (cname = "webkit_web_context_initialize_notification_permissions")]
+ [Version (since = "2.16")]
+ public void init_notification_permissions (GLib.List<WebKit.SecurityOrigin> allowed_origins,
GLib.List<WebKit.SecurityOrigin> disallowed_origins);
[Version (since = "2.18")]
public bool is_automation_allowed ();
[Version (since = "2.16")]
@@ -1038,7 +1041,6 @@ namespace WebKit {
[Version (since = "2.18")]
public virtual signal void automation_started (WebKit.AutomationSession session);
public virtual signal void download_started (WebKit.Download download);
- [HasEmitter]
[Version (since = "2.16")]
public virtual signal void initialize_notification_permissions ();
[Version (since = "2.4")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]