gtk-builder-tool: Operate without display
authorMatthias Clasen <mclasen@redhat.com>
Mon, 14 Mar 2022 19:40:12 +0000 (15:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 16 Mar 2022 02:08:01 +0000 (22:08 -0400)
commit38bbcb74115b69263a63fae3a70bc6c11e701814
treec48de3cddd9972c1fbc39366667940ab4d58b72d
parent3223f3e3b8d946917e12ca725ac8df175533ffb1
gtk-builder-tool: Operate without display

The simplify and validate commands can function
without a display connection, only preview absolutely
needs one. Allow this, by using gtk_init_check().
tools/gtk-builder-tool.c