From 379a3d74e2785316e8dca5a0277cfcf85b30bc83 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Thu, 10 Dec 2020 08:53:42 +0400 Subject: [PATCH] Fix build without gtk --- Telegram/SourceFiles/platform/linux/linux_libs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/platform/linux/linux_libs.cpp b/Telegram/SourceFiles/platform/linux/linux_libs.cpp index 879db8f759..ed09f1bed2 100644 --- a/Telegram/SourceFiles/platform/linux/linux_libs.cpp +++ b/Telegram/SourceFiles/platform/linux/linux_libs.cpp @@ -17,7 +17,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "main/main_domain.h" #include "mainwindow.h" +#ifndef TDESKTOP_DISABLE_GTK_INTEGRATION using Platform::internal::XErrorHandlerRestorer; +#endif // !TDESKTOP_DISABLE_GTK_INTEGRATION namespace Platform { namespace Libs {