doc: Tag the callback properties as deprecated.

They exists to comply with the old `naughty.notify` API. They should not
be used for new code.
This commit is contained in:
Emmanuel Lepage Vallee 2019-06-08 18:28:39 -04:00
parent 47750f62b2
commit 90396f33e7
1 changed files with 10 additions and 2 deletions

View File

@ -214,12 +214,20 @@ local notification = {}
-- @see shape
--- Function to run on left click.
-- @property run
--
-- Use the signals rather than this.
--
-- @deprecatedproperty run
-- @param function
-- @see destroyed
--- Function to run when notification is destroyed.
-- @property destroy
--
-- Use the signals rather than this.
--
-- @deprecatedproperty destroy
-- @param function
-- @see destroyed
--- Table with any of the above parameters.
-- args will override ones defined