tests: improve GTK+ testing for GTK+3
commit838bb07650327b628b8cc95e716b3af52d458efe
authorNicola Fontana <ntd@entidi.it>
Sun, 25 Dec 2016 21:54:28 +0000 (25 22:54 +0100)
committerNicola Fontana <ntd@entidi.it>
Sun, 25 Dec 2016 21:54:28 +0000 (25 22:54 +0100)
tree9da414586e7230d94b7b48212ed0fdc2854a6840
parentc0eb133e2d7eac3902369ba6cc12b2ae5d73a478
tests: improve GTK+ testing for GTK+3

While in GTK+2 calling gtk_init was optional, it seems that GTK+3 made
this a requirement. Added gtk_init_check() (that does not fail if the X
server cannot be used) where relevant.
src/adg/tests/test-gtk-area.c
src/adg/tests/test-gtk-layout.c
src/adg/tests/test-gtk-utils.c