From 9eaaf787b3c3291f1ddc127efdaf0f9e8777b488 Mon Sep 17 00:00:00 2001 From: hwspeedy Date: Mon, 13 May 2024 09:04:40 +0200 Subject: FIX Improve epileptic by more flash removal - improve darkmode detection --- shell/shell.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'shell/shell.c') diff --git a/shell/shell.c b/shell/shell.c index 667a0ce4..91190021 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -512,8 +512,6 @@ static void create_window(void) shell->notebook = gtk_notebook_new(); gtk_paned_add2(GTK_PANED(shell->vpaned), shell->notebook); - g_object_get(gtk_settings_get_default(), "gtk-application-prefer-dark-theme", ¶ms.darkmode, NULL); - GKeyFile *key_file = g_key_file_new(); gchar *conf_path = g_build_filename(g_get_user_config_dir(), "hardinfo2","settings.ini", NULL); g_key_file_load_from_file(key_file, conf_path, G_KEY_FILE_KEEP_COMMENTS | G_KEY_FILE_KEEP_TRANSLATIONS, NULL); -- cgit v1.2.3