Make the preview command parse options properly, turn the ID into an --id=ID option, and add a --css=FILE option that allows to specify a css file to use for previewing.
This is useful for e.g. previewing the reftest .ui files with their corresponding .css.
073f8bc gtk-builder-tool: Expand the preview command
docs/reference/gtk/gtk-builder-tool.xml | 22 +++++-
gtk/gtk-builder-tool.c | 116 +++++++++++++++++++++++--------
2 files changed, 105 insertions(+), 33 deletions(-)
Upstream: git.gnome.org