From 6bc0179919b781cc08543e5bf1f7b531444da3b2 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Fri, 6 Oct 2023 23:08:11 +0400 Subject: [PATCH] Work with GLIB_VERSION_MAX_ALLOWED --- .../SourceFiles/platform/linux/notifications_manager_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp index eddd32dc8..c94400ff1 100644 --- a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp @@ -415,7 +415,7 @@ bool NotificationData::init( static const auto set_category = [] { // reset dlerror after dlsym call const auto guard = gsl::finally([] { dlerror(); }); - return reinterpret_cast( + return reinterpret_cast( dlsym(RTLD_DEFAULT, "g_notification_set_category")); }();