gears.color: expose documentation for create_(linear|radial)_pattern functions
The documentation for these functions were hidden (intentionally?) from luadoc because of misspelt @class and @name tags. Fixed the spelling, so luadoc can do its job. [...] -- Anurag Priyam
From 6856e227f6a888b35f6292eaa4a347d5a17d2587 Mon Sep 17 00:00:00 2001 From: Anurag Priyam <[email protected]> Date: Wed, 11 Jan 2012 12:07:12 +0530 Subject: [PATCH] gears.color: expose documentation for create_(linear|radial)_pattern functions The documentation for these functions were hidden (intentionally?) from luadoc because of misspelt @class and @name tags. Fixed the spelling, so luadoc can do its job. Signed-off-by: Anurag Priyam <[email protected]> --- lib/gears/color.lua.in | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/gears/color.lua.in b/lib/gears/color.lua.in index d04c05e..6b1c7e4 100644 --- a/lib/gears/color.lua.in +++ b/lib/gears/color.lua.in @@ -86,8 +86,8 @@ end -- For the explanation of "<stops>", see add_stops(). -- @param arg The argument describing the pattern -- @return a cairo pattern object --- @nname create_linear_pattern --- @nclass function +-- @name create_linear_pattern +-- @class function --- Create a radial pattern object. -- The pattern is created from a string. This string should have the following @@ -97,8 +97,8 @@ end -- For the explanation of "<stops>", see add_stops(). -- @param arg The argument describing the pattern -- @return a cairo pattern object --- @nname create_radial_pattern --- @nclass function +-- @name create_radial_pattern +-- @class function for k, v in pairs({ linear = capi.oocairo.pattern_create_linear, radial = capi.oocairo.pattern_create_radial}) do -- 1.7.8.2
