Replaced 1 with TRUE when setting gtk-application-prefer-dark-theme

This commit is contained in:
Scoopta 2020-03-05 19:51:49 -08:00
parent 1b299e658f
commit a167dcc42e

View File

@ -738,7 +738,7 @@ int main(int argc, char** argv) {
if(gtk_dark != NULL && strcmp(gtk_dark, "true") == 0) { if(gtk_dark != NULL && strcmp(gtk_dark, "true") == 0) {
g_object_set(gtk_settings_get_default(), g_object_set(gtk_settings_get_default(),
"gtk-application-prefer-dark-theme", 1, NULL); "gtk-application-prefer-dark-theme", TRUE, NULL);
} }
wofi_load_css(false); wofi_load_css(false);