mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter
This commit is contained in:
commit
41042b0a78
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class Child(AstNode):
|
||||||
hints = [
|
hints = [
|
||||||
"only Gio.ListStore or Gtk.Buildable implementors can have children"
|
"only Gio.ListStore or Gtk.Buildable implementors can have children"
|
||||||
]
|
]
|
||||||
if "child" in gir_class.properties:
|
if hasattr(gir_class, "properties") and "child" in gir_class.properties:
|
||||||
hints.append(
|
hints.append(
|
||||||
"did you mean to assign this object to the 'child' property?"
|
"did you mean to assign this object to the 'child' property?"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue