Fix build without gtk

This commit is contained in:
Ilya Fedin 2020-12-10 08:53:42 +04:00 committed by John Preston
parent c4f985ca38
commit 379a3d74e2

View file

@ -17,7 +17,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "main/main_domain.h" #include "main/main_domain.h"
#include "mainwindow.h" #include "mainwindow.h"
#ifndef TDESKTOP_DISABLE_GTK_INTEGRATION
using Platform::internal::XErrorHandlerRestorer; using Platform::internal::XErrorHandlerRestorer;
#endif // !TDESKTOP_DISABLE_GTK_INTEGRATION
namespace Platform { namespace Platform {
namespace Libs { namespace Libs {