Commit 02ae335e authored by Sebastian Ramacher's avatar Sebastian Ramacher

Use gtk_init_check and provide error message

parent ed92a5f9
......@@ -34,5 +34,5 @@ int run_suite(Suite* suite)
void setup(void)
{
gtk_init(NULL, NULL);
fail_unless(gtk_init_check(NULL, NULL) == TRUE, "GTK+ initializitation failed", NULL);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment