forked from pool/telegram-desktop
494727588e
- Update to 2.5.7 * Delete not only messages, but also groups you created and call history for all sides, without a trace. * Adjust volume for individual participants of a voice chat. * Report fake groups or channels impersonating famous people or organizations by opening their Profile > ... > Report. - Updatet tg_owt * adapt 0002-tg_owt-fix-name-confliction.patch - Rebase 0000-gtk2-default.patch - Add Recommends for google-opensans-fonts OBS-URL: https://build.opensuse.org/request/show/867562 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=178
18 lines
676 B
Diff
18 lines
676 B
Diff
--- tdesktop-2.5.6-full/Telegram/SourceFiles/platform/linux/linux_gtk_integration.cpp.orig 2021-01-25 12:03:00.667137167 +0100
|
|
+++ tdesktop-2.5.6-full/Telegram/SourceFiles/platform/linux/linux_gtk_integration.cpp 2021-01-25 12:04:18.203759707 +0100
|
|
@@ -317,12 +317,12 @@ void GtkIntegration::load() {
|
|
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
|
|
&& !GtkTriedToInit
|
|
- && LoadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
|
|
+ && LoadLibrary(lib_gtk, "gtk-3", 0)) {
|
|
GtkLoaded = SetupGtkBase(lib_gtk);
|
|
}
|
|
|