2021-06-05 15:47:30 +02:00
|
|
|
diff --git a/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp b/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp
|
2021-08-02 10:35:57 +02:00
|
|
|
index 1b78bac..09c2ede 100644
|
2021-06-05 15:47:30 +02:00
|
|
|
--- a/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp
|
|
|
|
+++ b/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp
|
2021-08-02 10:35:57 +02:00
|
|
|
@@ -475,12 +475,12 @@ void GtkIntegration::load(const QString &allowedBackends, bool force) {
|
2021-06-05 15:47:30 +02:00
|
|
|
DEBUG_LOG(("Icon theme: %1").arg(QIcon::themeName()));
|
|
|
|
DEBUG_LOG(("Fallback icon theme: %1").arg(QIcon::fallbackThemeName()));
|
|
|
|
|
|
|
|
- if (LoadGtkLibrary(_lib, "gtk-3", 0)) {
|
|
|
|
+ if (LoadGtkLibrary(_lib, "gtk-x11-2.0", 0)) {
|
2021-08-02 10:35:57 +02:00
|
|
|
_private->loaded = _private->setupBase(_lib, allowedBackends);
|
2021-06-05 15:47:30 +02:00
|
|
|
}
|
2021-08-02 10:35:57 +02:00
|
|
|
if (!_private->loaded
|
|
|
|
&& !_private->triedToInit
|
2021-06-05 15:47:30 +02:00
|
|
|
- && LoadGtkLibrary(_lib, "gtk-x11-2.0", 0)) {
|
|
|
|
+ && LoadGtkLibrary(_lib, "gtk-3", 0)) {
|
2021-08-02 10:35:57 +02:00
|
|
|
_private->loaded = _private->setupBase(_lib, allowedBackends);
|
2021-06-05 15:47:30 +02:00
|
|
|
}
|
|
|
|
|