1
0
telegram-desktop/0000-gtk2-default.patch
Marcel Kuehlhorn 4d7eb6d281 Accepting request 811336 from home:tux93
- Update to 2.1.8
  * Add support for full group message history export.
  * Allow export of a single chat message history in JSON format.
- Rebased 0000-gtk2-default.patch

OBS-URL: https://build.opensuse.org/request/show/811336
OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=142
2020-06-04 11:06:10 +00:00

16 lines
628 B
Diff

--- tdesktop-2.1.8-full/Telegram/SourceFiles/platform/linux/linux_libs.cpp.orig 2020-06-03 18:18:48.829895452 +0000
+++ tdesktop-2.1.8-full/Telegram/SourceFiles/platform/linux/linux_libs.cpp 2020-06-03 18:21:15.248705051 +0000
@@ -271,10 +271,10 @@ void start() {
QLibrary lib_gtk;
lib_gtk.setLoadHints(QLibrary::DeepBindHint);
- if (loadLibrary(lib_gtk, "gtk-3", 0)) {
+ if (loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
gtkLoaded = setupGtkBase(lib_gtk);
}
- if (!gtkLoaded && loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
+ if (!gtkLoaded && loadLibrary(lib_gtk, "gtk-3", 0)) {
gtkLoaded = setupGtkBase(lib_gtk);
}