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 <anurag08priyam@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Anurag Priyam 2012-01-11 12:07:12 +05:30 committed by Uli Schlachter
parent 902db9a73d
commit 765db33757
1 changed files with 4 additions and 4 deletions

View File

@ -86,8 +86,8 @@ end
-- For the explanation of "<stops>", see add_stops(). -- For the explanation of "<stops>", see add_stops().
-- @param arg The argument describing the pattern -- @param arg The argument describing the pattern
-- @return a cairo pattern object -- @return a cairo pattern object
-- @nname create_linear_pattern -- @name create_linear_pattern
-- @nclass function -- @class function
--- Create a radial pattern object. --- Create a radial pattern object.
-- The pattern is created from a string. This string should have the following -- 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(). -- For the explanation of "<stops>", see add_stops().
-- @param arg The argument describing the pattern -- @param arg The argument describing the pattern
-- @return a cairo pattern object -- @return a cairo pattern object
-- @nname create_radial_pattern -- @name create_radial_pattern
-- @nclass function -- @class function
for k, v in pairs({ linear = capi.oocairo.pattern_create_linear, for k, v in pairs({ linear = capi.oocairo.pattern_create_linear,
radial = capi.oocairo.pattern_create_radial}) do radial = capi.oocairo.pattern_create_radial}) do