Fix ifndef of gtk integration in settings

This commit is contained in:
Ilya Fedin 2021-03-31 12:32:23 +04:00
parent 67f21f9b21
commit f4d5f31f2a

View file

@ -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<rpl::event_stream<bool>>(
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<rpl::event_stream<bool>>(