naughty.widget.message: Update the property documentation.

This commit is contained in:
Emmanuel Lepage Vallee 2022-08-21 23:02:26 -07:00
parent 7149b93abb
commit 0014785c85
1 changed files with 1 additions and 2 deletions

View File

@ -25,6 +25,7 @@ local message = {}
--- The attached notification.
-- @property notification
-- @tparam naughty.notification notification
-- @propertydefault This is usually set in the construtor.
-- @propemits true false
function message:set_notification(notif)
@ -86,8 +87,6 @@ local function new(args)
return tb
end
--@DOC_widget_COMMON@
--@DOC_object_COMMON@
return setmetatable(message, {__call = function(_, ...) return new(...) end})