From 768fc9b8f6503f01cf06f190aa808ec820b1d4ca Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Tue, 15 Nov 2022 02:31:26 +0400 Subject: [PATCH] Use the new Glib::Variant qint64/quint64 compatibility with old code --- Telegram/SourceFiles/platform/linux/main_window_linux.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp index 23877a92d..79376e385 100644 --- a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp @@ -272,9 +272,9 @@ void MainWindow::updateIconCounters() { if (counterSlice > 0) { // According to the spec, it should be of 'x' D-Bus signature, - // which corresponds to gint64 type with glib + // which corresponds to signed 64-bit integer // https://wiki.ubuntu.com/Unity/LauncherAPI#Low_level_DBus_API:_com.canonical.Unity.LauncherEntry - dbusUnityProperties["count"] = Glib::Variant::create( + dbusUnityProperties["count"] = Glib::Variant::create( counterSlice); dbusUnityProperties["count-visible"] = Glib::Variant::create(true);