From 1e6d4747be05ea13726ba8eee9843e70b06cea47 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 5 May 2009 12:20:13 +0200 Subject: [PATCH] graph: deprecate in favor of awful widget Signed-off-by: Julien Danjou --- widgets/graph.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/widgets/graph.c b/widgets/graph.c index 672a97de..145ffb6a 100644 --- a/widgets/graph.c +++ b/widgets/graph.c @@ -427,6 +427,7 @@ luaA_graph_plot_data_add(lua_State *L) } /** Graph widget. + * DEPRECATED, see awful.widget.graph. * \param L The Lua VM state. * \param token The key token. * \return The number of elements pushed on stack. @@ -588,6 +589,7 @@ graph_destructor(widget_t *widget) widget_t * widget_graph(widget_t *w) { + luaA_deprecate(globalconf.L, "awful.widget.graph"); w->draw = graph_draw; w->index = luaA_graph_index; w->newindex = luaA_graph_newindex;