diff options
Diffstat (limited to 'tests/scanner/foo-1.0-expected.gir')
-rw-r--r-- | tests/scanner/foo-1.0-expected.gir | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/tests/scanner/foo-1.0-expected.gir b/tests/scanner/foo-1.0-expected.gir index 4bd7745..0f6b1f1 100644 --- a/tests/scanner/foo-1.0-expected.gir +++ b/tests/scanner/foo-1.0-expected.gir @@ -94,7 +94,7 @@ and/or use gtk-doc annotations. --> parent="GObject.Object" glib:type-name="FooBuffer" glib:get-type="foo_buffer_get_type" - glib:class-struct="BufferClass"> + glib:type-struct="BufferClass"> <implements name="Interface"/> <method name="some_method" c:identifier="foo_buffer_some_method"> <return-value transfer-ownership="none"> @@ -104,7 +104,7 @@ and/or use gtk-doc annotations. --> </class> <record name="BufferClass" c:type="FooBufferClass" - glib:is-class-struct-for="Buffer"> + glib:is-gtype-struct-for="Buffer"> </record> <callback name="Callback" c:type="FooCallback"> <return-value transfer-ownership="none"> @@ -230,7 +230,8 @@ and/or use gtk-doc annotations. --> <interface name="Interface" c:type="FooInterface" glib:type-name="FooInterface" - glib:get-type="foo_interface_get_type"> + glib:get-type="foo_interface_get_type" + glib:type-struct="InterfaceIface"> <callback name="do_foo" c:type="do_foo"> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> @@ -242,7 +243,9 @@ and/or use gtk-doc annotations. --> </parameters> </callback> </interface> - <record name="InterfaceIface" c:type="FooInterfaceIface"> + <record name="InterfaceIface" + c:type="FooInterfaceIface" + glib:is-gtype-struct-for="Interface"> <field name="parent_iface"> <type name="GObject.TypeInterface" c:type="GTypeInterface"/> </field> @@ -262,7 +265,7 @@ and/or use gtk-doc annotations. --> parent="GObject.Object" glib:type-name="FooObject" glib:get-type="foo_object_get_type" - glib:class-struct="ObjectClass"> + glib:type-struct="ObjectClass"> <implements name="Interface"/> <constructor name="new" c:identifier="foo_object_new"> <return-value transfer-ownership="full"> @@ -381,7 +384,7 @@ and/or use gtk-doc annotations. --> </class> <record name="ObjectClass" c:type="FooObjectClass" - glib:is-class-struct-for="Object"> + glib:is-gtype-struct-for="Object"> <field name="parent_class"> <type name="GObject.ObjectClass" c:type="GObjectClass"/> </field> @@ -461,7 +464,8 @@ and/or use gtk-doc annotations. --> <interface name="SubInterface" c:type="FooSubInterface" glib:type-name="FooSubInterface" - glib:get-type="foo_sub_interface_get_type"> + glib:get-type="foo_sub_interface_get_type" + glib:type-struct="SubInterfaceIface"> <prerequisite name="Interface"/> <method name="do_bar" c:identifier="foo_sub_interface_do_bar"> <return-value transfer-ownership="none"> @@ -479,7 +483,9 @@ and/or use gtk-doc annotations. --> </parameters> </callback> </interface> - <record name="SubInterfaceIface" c:type="FooSubInterfaceIface"> + <record name="SubInterfaceIface" + c:type="FooSubInterfaceIface" + glib:is-gtype-struct-for="SubInterface"> <field name="parent_iface"> <type name="GObject.TypeInterface" c:type="GTypeInterface"/> </field> @@ -500,7 +506,7 @@ and/or use gtk-doc annotations. --> abstract="1" glib:type-name="FooSubobject" glib:get-type="foo_subobject_get_type" - glib:class-struct="SubobjectClass"> + glib:type-struct="SubobjectClass"> <implements name="Interface"/> <constructor name="new" c:identifier="foo_subobject_new"> <return-value transfer-ownership="full"> @@ -513,7 +519,7 @@ and/or use gtk-doc annotations. --> </class> <record name="SubobjectClass" c:type="FooSubobjectClass" - glib:is-class-struct-for="Subobject"> + glib:is-gtype-struct-for="Subobject"> <field name="parent_class"> <type name="ObjectClass" c:type="FooObjectClass"/> </field> |