This commit is contained in:
gregorni 2023-09-08 10:40:24 +02:00
commit 41042b0a78

View file

@ -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?"
) )