2020-08-31 01:56:14 +02:00
|
|
|
--- tdesktop-2.7.3-full/Telegram/SourceFiles/platform/linux/linux_libs.cpp.orig 2020-06-03 18:18:48.829895452 +0000
|
|
|
|
+++ tdesktop-2.7.3-full/Telegram/SourceFiles/platform/linux/linux_libs.cpp 2020-06-03 18:21:15.248705051 +0000
|
|
|
|
@@ -272,10 +272,10 @@ void start() {
|
2020-02-12 18:55:33 +01:00
|
|
|
QLibrary lib_gtk;
|
2020-06-04 13:06:10 +02:00
|
|
|
lib_gtk.setLoadHints(QLibrary::DeepBindHint);
|
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);
|
|
|
|
}
|
2020-08-31 01:56:14 +02:00
|
|
|
- if (!gtkLoaded && !gtkTriedToInit && loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
|
|
|
|
+ if (!gtkLoaded && !gtkTriedToInit && loadLibrary(lib_gtk, "gtk-3", 0)) {
|
2020-02-12 18:55:33 +01:00
|
|
|
gtkLoaded = setupGtkBase(lib_gtk);
|
2019-11-06 11:29:52 +01:00
|
|
|
}
|
2020-02-12 18:55:33 +01:00
|
|
|
|