1
0
telegram-desktop/0004-gtk3.patch
Marcel Kuehlhorn 3e6e4c093d Accepting request 764829 from home:nuklly
- Upgrade to 1.9.3
  * Videos in chats start playing automatically.
  * Resume playback from where you left off when watching long 
    videos and listening to long audio tracks.
  * Control automatic playback for videos, GIFs and round video
    messages in Settings > Advanced > Automatic media download.
  * Enjoy system spell checker support on all modern systems.

OBS-URL: https://build.opensuse.org/request/show/764829
OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=115
2020-01-16 10:02:40 +00:00

23 lines
786 B
Diff

From ef30081973681f4f8d261917fa763b00adfbe6e9 Mon Sep 17 00:00:00 2001
From: John Zimmermann <johnz@posteo.net>
Date: Thu, 2 Jan 2020 13:10:31 +0100
Subject: [PATCH] gtk3
---
Telegram/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/Telegram/CMakeLists.txt
+++ b/Telegram/CMakeLists.txt
@@ -1018,8 +1018,8 @@
if (NOT TDESKTOP_DISABLE_GTK_INTEGRATION)
find_package(PkgConfig REQUIRED)
- pkg_check_modules(GTK2 REQUIRED gtk+-2.0)
- target_include_directories(Telegram PRIVATE ${GTK2_INCLUDE_DIRS})
+ pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
+ target_include_directories(Telegram PRIVATE ${GTK3_INCLUDE_DIRS})
target_compile_options(Telegram PRIVATE -Wno-register)
set(appindicator_packages