naughty.widget.title: Update the property documentation.

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

View File

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