tag: remove deprecated code

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-09-14 15:13:29 +02:00
parent 4c178d5441
commit f66178c5df
1 changed files with 0 additions and 14 deletions

14
tag.c
View File

@ -287,20 +287,6 @@ tag_view_only_byindex(screen_t *screen, int dindex)
static int
luaA_tag_new(lua_State *L)
{
if(lua_isstring(L, 2))
{
/* compat code */
luaA_deprecate(L, "new syntax");
size_t len;
const char *name = luaL_checklstring(L, 2, &len);
tag_t *tag = tag_new(globalconf.L);
a_iso2utf8(name, len, &tag->name, NULL);
return 1;
}
return luaA_class_new(L, &tag_class);
}