Commit eed2799b authored by Matthias Clasen's avatar Matthias Clasen

Add a way to test titlebars in dark theme

parent 730a6854
......@@ -13,6 +13,9 @@ main (int argc, char *argv[])
gtk_init (NULL, NULL);
if (g_getenv ("DARK"))
g_object_set (gtk_settings_get_default (), "gtk-application-prefer-dark-theme", TRUE, NULL);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_default_size (GTK_WINDOW (window), 600, 400);
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