@6t8k commented on this pull request.


>       /* Not sure if we can really continue without DISPLAY. Fake X display 
> perhaps?
         *
         * This test seems to work, at least.
         */
-       gtk_init_check(&argc, &argv);
+       if(!gtk_init_check(&argc, &argv)) {
+               printf("GTK initialisation failed; skipping. Running inside a 
headless environment?\n");

Both done, feel free to squash (or let me know).

Note: `printf` is already called 
[here](https://github.com/geany/geany/blob/2.0.0/tests/test_sidebar.c#L51), but 
for the purposes of this PR, `g_test_message` is indeed preferable.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3676#discussion_r1384184228
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3676/review/[email protected]>

Reply via email to