mirror of https://github.com/bsnes-emu/bsnes.git
Prefer dark theme on GTK 3
This commit is contained in:
parent
67d8586720
commit
c6de559180
|
@ -207,6 +207,10 @@ auto pWindow::construct() -> void {
|
|||
g_object_set_data(G_OBJECT(widget), "hiro::window", (gpointer)this);
|
||||
g_object_set_data(G_OBJECT(formContainer), "hiro::window", (gpointer)this);
|
||||
|
||||
#if HIRO_GTK==3
|
||||
g_object_set(gtk_settings_get_default(), "gtk-application-prefer-dark-theme", TRUE, NULL);
|
||||
#endif
|
||||
|
||||
pApplication::state().windows.append(this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue