From c3f0335cd2c84aa45f89344d5fe3afcd5b39c6ac Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 29 Aug 2008 13:55:09 +0200 Subject: [PATCH] progressbar: add fake struct to build doc Signed-off-by: Julien Danjou --- widgets/progressbar.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/widgets/progressbar.c b/widgets/progressbar.c index 6579093e..e1ded0bd 100644 --- a/widgets/progressbar.c +++ b/widgets/progressbar.c @@ -672,4 +672,11 @@ progressbar_new(alignment_t align) return w; } +/* This is used for building documentation. */ +static const struct luaL_reg awesome_progressbar_meta[] __attribute__ ((unused)) = +{ + { "bar_properties_set", luaA_progressbar_bar_properties_set }, + { "bar_data_add", luaA_progressbar_bar_data_add }, +}; + // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80