[Webkit-unassigned] [Bug 220331] New: Gobject-introspection record name="_ContextMenu" gives redefinition errors
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 5 10:44:18 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=220331
Bug ID: 220331
Summary: Gobject-introspection record name="_ContextMenu" gives
redefinition errors
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mail at ssalewski.de
CC: bugs-noreply at webkitgtk.org
I am getting two redefinition errors for webkitgtk-2.30.3.
```
salewski at nuc ~/gintrotest/tests $ grep -A12 "_ContextMenu" /usr/share/gir-1.0/WebKit2WebExtension-4.0.gir
<record name="_ContextMenu" c:type="_WebKitContextMenu">
<source-position filename="webkitgtk-2.30.3/Source/WebKit/UIProcess/API/gtk/WebKitContextMenu.h"
line="48"/>
<field name="parent" writable="1">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" writable="1">
<type name="ContextMenuPrivate" c:type="WebKitContextMenuPrivate*"/>
</field>
</record>
<record name="_ContextMenuItem" c:type="_WebKitContextMenuItem">
<source-position filename="webkitgtk-2.30.3/Source/WebKit/UIProcess/API/gtk3/WebKitContextMenuItem.h"
line="49"/>
<field name="parent" writable="1">
<type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
</field>
<field name="priv" writable="1">
<type name="ContextMenuItemPrivate"
c:type="WebKitContextMenuItemPrivate*"/>
</field>
</record>
</namespace>
</repository>
salewski at nuc ~/gintrotest/tests $ grep "class name=\"ContextMenu" /usr/share/gir-1.0/WebKit2WebExtension-4.0.gir
<class name="ContextMenu"
<class name="ContextMenuItem"
```
Comment of ebassi Emmanuele Bassi Foundation Staff:
```
Yes, it should be reported to the WebKitGTK issue tracker; the records should be named
ContextMenu and ContextMenuItem, respectively, even though they are just records—opaque
structures for the instance structure of their respective classes. The class is what matters.
```
See
https://discourse.gnome.org/t/webkit2webextension-4-0-gir-contains-record-name-contextmenu/5252
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210105/aa58d58a/attachment-0001.htm>
More information about the webkit-unassigned
mailing list