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 = [] {
|
static const auto set_category = [] {
|
||||||
// reset dlerror after dlsym call
|
// reset dlerror after dlsym call
|
||||||
const auto guard = gsl::finally([] { dlerror(); });
|
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"));
|
dlsym(RTLD_DEFAULT, "g_notification_set_category"));
|
||||||
}();
|
}();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue