summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/webkitgtk/webkitgtk3/fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/webkitgtk/webkitgtk3/fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch')
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3/fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch
new file mode 100644
index 000000000..3d76aa4e4
--- /dev/null
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/fff1b1773bff2ef7c3b867ab019d69faa36c010d.patch
@@ -0,0 +1,33 @@
1From fff1b1773bff2ef7c3b867ab019d69faa36c010d Mon Sep 17 00:00:00 2001
2From: Michael Catanzaro <mcatanzaro@redhat.com>
3Date: Wed, 3 Jul 2024 13:36:54 -0700
4Subject: [PATCH] WebKitDOMEventTarget.h:95: Warning: WebKit2WebExtension:
5 invalid "scope" annotation: only valid on callback parameters
6 https://bugs.webkit.org/show_bug.cgi?id=276180
7
8Unreviewed build fix.
9
10Emmanuele recommends using (type gpointer) for the GCallback parameter
11of webkit_dom_event_target_remove_event_listener, since it won't be
12called and is therefore not functioning as a callback.
13
14* Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h:
15
16Canonical link: https://commits.webkit.org/280639@main
17Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/fff1b1773bff2ef7c3b867ab019d69faa36c010d]
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19---
20 .../InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h
24+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h
25@@ -92,7 +92,7 @@ WEBKIT_DEPRECATED gboolean webkit_dom_e
26 * webkit_dom_event_target_remove_event_listener:
27 * @target: A #WebKitDOMEventTarget
28 * @event_name: A #gchar
29- * @handler: (scope call): A #GCallback
30+ * @handler: (type gpointer): A #GCallback
31 * @use_capture: A #gboolean
32 *
33 * Returns: a #gboolean