Work with GLIB_VERSION_MAX_ALLOWED

This commit is contained in:
Ilya Fedin 2023-10-06 23:08:11 +04:00 committed by John Preston
parent 93fbad50bc
commit 6bc0179919
1 changed files with 1 additions and 1 deletions

View File

@ -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"));
}();