2020-02-12 18:55:33 +01:00
|
|
|
--- a/Telegram/SourceFiles/platform/linux/linux_libs.cpp.orig 2020-02-06 11:24:06.271620992 +0100
|
|
|
|
+++ b/Telegram/SourceFiles/platform/linux/linux_libs.cpp 2020-02-06 11:27:36.265427510 +0100
|
|
|
|
@@ -222,10 +222,10 @@ void start() {
|
2019-11-06 11:29:52 +01:00
|
|
|
bool isWayland = QGuiApplication::platformName().startsWith(qsl("wayland"), Qt::CaseInsensitive);
|
2020-02-12 18:55:33 +01:00
|
|
|
QLibrary lib_gtk;
|
2019-11-06 11:29:52 +01:00
|
|
|
|
2020-02-12 18:55:33 +01:00
|
|
|
- if (loadLibrary(lib_gtk, "gtk-3", 0)) {
|
|
|
|
+ if (loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
|
|
|
|
gtkLoaded = setupGtkBase(lib_gtk);
|
|
|
|
}
|
|
|
|
- if (!gtkLoaded && !isWayland && loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
|
|
|
|
+ if (!gtkLoaded && !isWayland && loadLibrary(lib_gtk, "gtk-3", 0)) {
|
|
|
|
gtkLoaded = setupGtkBase(lib_gtk);
|
2019-11-06 11:29:52 +01:00
|
|
|
}
|
2020-02-12 18:55:33 +01:00
|
|
|
|