NEW 220331
Gobject-introspection record name="_ContextMenu" gives redefinition errors
https://bugs.webkit.org/show_bug.cgi?id=220331
Summary Gobject-introspection record name="_ContextMenu" gives redefinition errors
Stefan Salewski
Reported 2021-01-05 10:44:18 PST
I am getting two redefinition errors for webkitgtk-2.30.3. ``` salewski@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@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
Attachments
Note You need to log in before you can comment on or make changes to this bug.