From f4d5f31f2ad24a605479d968fc5af5cf80aee900 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Wed, 31 Mar 2021 12:32:23 +0400 Subject: [PATCH] Fix ifndef of gtk integration in settings --- Telegram/SourceFiles/kotato/settings_menu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/kotato/settings_menu.cpp b/Telegram/SourceFiles/kotato/settings_menu.cpp index e5ec3a887..939442948 100644 --- a/Telegram/SourceFiles/kotato/settings_menu.cpp +++ b/Telegram/SourceFiles/kotato/settings_menu.cpp @@ -438,7 +438,7 @@ void SetupKotatoSystem( AddSkip(container); AddSubsectionTitle(container, tr::ktg_settings_system()); -#ifndef TDESKTOP_DISABLE_GTK_INTEGRATION +#ifndef DESKTOP_APP_DISABLE_GTK_INTEGRATION if (Platform::IsLinux()) { const auto gtkIntegrationToggled = Ui::CreateChild>( container.get()); @@ -467,7 +467,7 @@ void SetupKotatoSystem( cancelled)); }, container->lifetime()); } -#endif // !TDESKTOP_DISABLE_GTK_INTEGRATION +#endif // !DESKTOP_APP_DISABLE_GTK_INTEGRATION if (Platform::IsMac()) { const auto useNativeDecorationsToggled = Ui::CreateChild>(