mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-25 21:35:33 +00:00
Fixed building under Windows.
This commit is contained in:
+1
-1
@@ -489,7 +489,7 @@ bool app_init_and_loop(int& argc, char**& argv)
|
||||
debug_out_dump("app", "Current GTK theme: " << theme_name << "\n");
|
||||
bool windows_is_using_classic_theme = false;
|
||||
#ifdef _WIN32
|
||||
is_win8_or_newer = IsWindowsServer() || !IsWindows8OrGreater();
|
||||
windows_is_using_classic_theme = IsWindowsServer() || !IsWindows8OrGreater();
|
||||
#endif
|
||||
if (windows_is_using_classic_theme && theme_name == "win32") {
|
||||
debug_out_dump("app", "Windows with Classic theme support detected, switching to Adwaita theme.\n");
|
||||
|
||||
Reference in New Issue
Block a user