mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Fix crash in action widget syntax
This commit is contained in:
parent
3d4aae79c4
commit
3f8b38d219
1 changed files with 3 additions and 0 deletions
|
@ -56,6 +56,9 @@ class ResponseId(AstNode):
|
||||||
from .gobject_object import Object
|
from .gobject_object import Object
|
||||||
|
|
||||||
container_type = self.parent_by_type(Object).gir_class
|
container_type = self.parent_by_type(Object).gir_class
|
||||||
|
if container_type is None:
|
||||||
|
return
|
||||||
|
|
||||||
gir = self.root.gir
|
gir = self.root.gir
|
||||||
|
|
||||||
for namespace, name in ResponseId.ALLOWED_PARENTS:
|
for namespace, name in ResponseId.ALLOWED_PARENTS:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue