mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Validate parent object for accessibility and layout
This commit is contained in:
parent
2224f0958c
commit
e759569c3f
8 changed files with 40 additions and 4 deletions
6
tests/sample_errors/a11y_in_non_widget.blp
Normal file
6
tests/sample_errors/a11y_in_non_widget.blp
Normal file
|
@ -0,0 +1,6 @@
|
|||
using Gtk 4.0;
|
||||
using GObject 2.0;
|
||||
|
||||
GObject.Object {
|
||||
accessibility {}
|
||||
}
|
1
tests/sample_errors/a11y_in_non_widget.err
Normal file
1
tests/sample_errors/a11y_in_non_widget.err
Normal file
|
@ -0,0 +1 @@
|
|||
5,3,13,GObject.Object is not a Gtk.Widget, so it doesn't have accessibility properties
|
6
tests/sample_errors/layout_in_non_widget.blp
Normal file
6
tests/sample_errors/layout_in_non_widget.blp
Normal file
|
@ -0,0 +1,6 @@
|
|||
using Gtk 4.0;
|
||||
using GObject 2.0;
|
||||
|
||||
GObject.Object {
|
||||
layout {}
|
||||
}
|
1
tests/sample_errors/layout_in_non_widget.err
Normal file
1
tests/sample_errors/layout_in_non_widget.err
Normal file
|
@ -0,0 +1 @@
|
|||
5,3,6,GObject.Object is not a Gtk.Widget, so it doesn't have layout properties
|
Loading…
Add table
Add a link
Reference in a new issue