mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
fix: replace non-existing bind flag with existing one
Replace non-existing `after` binding flag with `invert-boolean` flag. Use `inverted` name for convenience.
This commit is contained in:
parent
cc8a555f97
commit
e4283ed0c1
3 changed files with 5 additions and 5 deletions
|
@ -283,8 +283,8 @@ def decompile_property(ctx, gir, name, cdata, bind_source=None, bind_property=No
|
|||
if bind_flags:
|
||||
if "sync-create" in bind_flags:
|
||||
flags += " sync-create"
|
||||
if "after" in bind_flags:
|
||||
flags += " after"
|
||||
if "invert-boolean" in bind_flags:
|
||||
flags += " inverted"
|
||||
if "bidirectional" in bind_flags:
|
||||
flags += " bidirectional"
|
||||
ctx.print(f"{name}: bind {bind_source}.{bind_property}{flags};")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue