mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Work with GLIB_VERSION_MAX_ALLOWED
This commit is contained in:
parent
93fbad50bc
commit
6bc0179919
1 changed files with 1 additions and 1 deletions
|
@ -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<decltype(&g_notification_set_category)>(
|
||||
return reinterpret_cast<void(*)(GNotification*, const gchar*)>(
|
||||
dlsym(RTLD_DEFAULT, "g_notification_set_category"));
|
||||
}();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue