mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-10-29 15:36:08 +00:00
Work with GLIB_VERSION_MAX_ALLOWED
This commit is contained in:
@@ -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"));
|
||||
}();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user