-rw-r--r-- | fox/lua_fox_window.cpp | 3 | ||||
-rw-r--r-- | gui.lua | 2 |
diff --git a/fox/lua_fox_window.cpp b/fox/lua_fox_window.cpp index dee94e12..f7174dc7 100644 --- a/fox/lua_fox_window.cpp +++ b/fox/lua_fox_window.cpp @@ -556,5 +556,6 @@ fox_window_register (lua_State *L) luaL_register (L, NULL, fox_window_methods); lua_pop (L, 1); - luaL_register (L, NULL, fox_window_functions); + luaL_register (L, "fox", fox_window_functions); + lua_pop(L, 1); } @@ -8,7 +8,7 @@ local SEL = require 'fox-selector' local OPTIONS = require 'fox-options' local OP = require 'fox-method' -local create = gsl.fox_window +local create = fox.fox_window local M = {} |