Fix interactive notifications: use uint32 instead of int32

Fixes https://github.com/awesomeWM/awesome/issues/259.
Closes https://github.com/awesomeWM/awesome/pull/261.
This commit is contained in:
jaysonwillson 2015-06-13 18:33:24 +03:00 committed by Daniel Hahler
parent 76fc6b3306
commit 3fe663fc60
1 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ local function sendActionInvoked(notificationId, action)
if capi.dbus then
capi.dbus.emit_signal("session", "/org/freedesktop/Notifications",
"org.freedesktop.Notifications", "ActionInvoked",
"i", notificationId,
"u", notificationId,
"s", action)
end
end
@ -61,8 +61,8 @@ local function sendNotificationClosed(notificationId, reason)
if capi.dbus then
capi.dbus.emit_signal("session", "/org/freedesktop/Notifications",
"org.freedesktop.Notifications", "NotificationClosed",
"i", notificationId,
"i", reason)
"u", notificationId,
"u", reason)
end
end