girwriter: wrong namespace for Gtk4 objects
i try to write an library which contains Gtk4 symbols. To generate the typelib i use the g-ir-compiler. He complains about symbols not found for example:
<class name="Window" c:type="JiWindow" c:symbol-prefix="window" glib:type-name="JiWindow" glib:get-type="ji_window_get_type" glib:type-struct="WindowClass" parent="Gdk.ApplicationWindow">
<field name="parent_instance" readable="0" private="1">
<type name="Gdk.ApplicationWindow" c:type="GtkApplicationWindow"/>
</field>
<field name="priv" readable="0" private="1">
<type name="WindowPrivate" c:type="JiWindowPrivate*"/>
</field>
<constructor name="new" c:identifier="ji_window_new">
<return-value transfer-ownership="none">
<type name="Ji.Window" c:type="JiWindow*"/>
</return-value>
<parameters>
<parameter name="app" transfer-ownership="none">
<type name="Gdk.Application" c:type="GtkApplication*"/>
</parameter>
</parameters>
</constructor>
</class>
Seems like the girwriter wrongly associates the type of the GtkApplicationWindow parent as an Gdk.ApplicationWindow.
Also, the includes only mention Gdk instead of Gtk
<repository version="1.2" xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="Gdk" version="4.0"/>
<include name="GObject" version="2.0"/>
<include name="Gio" version="2.0"/>
<include name="GLib" version="2.0"/>