@kugel- requested changes on this pull request.


In tests/test_sidebar.c:

>  	/* 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");

Please adapt the above comment to the new code. I'm also unsure if printf output is really desirable during test runs.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3676/review/1716355387@github.com>