[vala/0.40] webkit2gtk-4.0: Fix WebContext.initialize_notification_permissions()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] webkit2gtk-4.0: Fix WebContext.initialize_notification_permissions()
- Date: Mon, 5 Aug 2019 11:40:21 +0000 (UTC)
commit e8d70f2aa7254f35a7fc7b79232fdaf15156f6cb
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 0c43ed5bd..2498d4643 100644
--- a/vapi/metadata/WebKit2-4.0.metadata
+++ b/vapi/metadata/WebKit2-4.0.metadata
@@ -6,6 +6,8 @@ JavascriptResult
.get_value unowned
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 43c2e9d4f..a62eaa412 100644
--- a/vapi/webkit2gtk-4.0.vapi
+++ b/vapi/webkit2gtk-4.0.vapi
@@ -916,6 +916,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")]
@@ -953,7 +956,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]