forked from pool/telegram-desktop
16ed77b8da
- Update to 2.9.0 * Enable auto-delete in your chats to remove messages. * Quickly find all GIFs from a chat using the new GIF section. * Reset your Two-Step Verification password even if you forgot. * Enjoy a new app icon and default background. - Update tg_owt - Update 0001-use-bundled-ranged-exptected-gsl.patch * Use bundled rlottie - Add 0004-use-dynamic-x-libraries.patch - Add 0005-add-wayland-include-path.patch OBS-URL: https://build.opensuse.org/request/show/909652 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=199
20 lines
935 B
Diff
20 lines
935 B
Diff
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
|
|
index 1b78bac..09c2ede 100644
|
|
--- a/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp
|
|
+++ b/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp
|
|
@@ -475,12 +475,12 @@ void GtkIntegration::load(const QString &allowedBackends, bool force) {
|
|
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)) {
|
|
_private->loaded = _private->setupBase(_lib, allowedBackends);
|
|
}
|
|
if (!_private->loaded
|
|
&& !_private->triedToInit
|
|
- && LoadGtkLibrary(_lib, "gtk-x11-2.0", 0)) {
|
|
+ && LoadGtkLibrary(_lib, "gtk-3", 0)) {
|
|
_private->loaded = _private->setupBase(_lib, allowedBackends);
|
|
}
|
|
|