From f66178c5dfd878565677fdb3e82e894ebbfe8717 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 14 Sep 2009 15:13:29 +0200 Subject: [PATCH] tag: remove deprecated code Signed-off-by: Julien Danjou --- tag.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tag.c b/tag.c index d9a51b1e..dc81b743 100644 --- a/tag.c +++ b/tag.c @@ -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); }