This commit is contained in:
Kovid Goyal 2019-02-03 19:41:19 +05:30
parent 7485269c37
commit 728dbbfff0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

2
glfw/linux_notify.c vendored
View File

@ -47,7 +47,7 @@ message_handler(DBusConnection *conn, DBusMessage *msg, void *user_data) {
if (dbus_message_is_signal(msg, NOTIFICATIONS_IFACE, "ActionInvoked")) {
uint32_t notification_id;
const char *action;
if (!glfw_dbus_get_args(msg, "Failed to get args from ActionInvoked notification signal",
if (glfw_dbus_get_args(msg, "Failed to get args from ActionInvoked notification signal",
DBUS_TYPE_UINT32, &notification_id, DBUS_TYPE_STRING, &action, DBUS_TYPE_INVALID)) {
if (activated_handler) {
activated_handler(notification_id, action);