main: Don't try to open default display when parsing gtk options
This makes phosh --version
work without any compositor or with
unconfigured XDG_RUNTIME_DIR
.
Thanks: Ellie
Signed-off-by: Guido Günther agx@sigxcpu.org
This makes phosh --version
work without any compositor or with
unconfigured XDG_RUNTIME_DIR
.
Thanks: Ellie
Signed-off-by: Guido Günther agx@sigxcpu.org