Fix ifndef of gtk integration in settings
This commit is contained in:
parent
67f21f9b21
commit
f4d5f31f2a
1 changed files with 2 additions and 2 deletions
|
|
@ -438,7 +438,7 @@ void SetupKotatoSystem(
|
||||||
AddSkip(container);
|
AddSkip(container);
|
||||||
AddSubsectionTitle(container, tr::ktg_settings_system());
|
AddSubsectionTitle(container, tr::ktg_settings_system());
|
||||||
|
|
||||||
#ifndef TDESKTOP_DISABLE_GTK_INTEGRATION
|
#ifndef DESKTOP_APP_DISABLE_GTK_INTEGRATION
|
||||||
if (Platform::IsLinux()) {
|
if (Platform::IsLinux()) {
|
||||||
const auto gtkIntegrationToggled = Ui::CreateChild<rpl::event_stream<bool>>(
|
const auto gtkIntegrationToggled = Ui::CreateChild<rpl::event_stream<bool>>(
|
||||||
container.get());
|
container.get());
|
||||||
|
|
@ -467,7 +467,7 @@ void SetupKotatoSystem(
|
||||||
cancelled));
|
cancelled));
|
||||||
}, container->lifetime());
|
}, container->lifetime());
|
||||||
}
|
}
|
||||||
#endif // !TDESKTOP_DISABLE_GTK_INTEGRATION
|
#endif // !DESKTOP_APP_DISABLE_GTK_INTEGRATION
|
||||||
|
|
||||||
if (Platform::IsMac()) {
|
if (Platform::IsMac()) {
|
||||||
const auto useNativeDecorationsToggled = Ui::CreateChild<rpl::event_stream<bool>>(
|
const auto useNativeDecorationsToggled = Ui::CreateChild<rpl::event_stream<bool>>(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue