diff options
author | 2012-06-02 11:17:14 -0400 | |
---|---|---|
committer | 2012-06-02 11:17:14 -0400 | |
commit | b12e1e05cccf2c983b3e1dd52449095e9faee4a6 (patch) | |
tree | 97ad9d1d84a2b1c807fb3ea1066174532567fa24 /src/textadept.c | |
parent | ad85d064bf4e540c5ecf65093f302fb79ee58bdc (diff) | |
download | textadept-b12e1e05cccf2c983b3e1dd52449095e9faee4a6.tar.gz textadept-b12e1e05cccf2c983b3e1dd52449095e9faee4a6.zip |
GCocoaDialog was renamed gtDialog.
Diffstat (limited to 'src/textadept.c')
-rw-r--r-- | src/textadept.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/textadept.c b/src/textadept.c index f7feb13f..fd7ab229 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -25,7 +25,7 @@ #define PLAT_TERM 1 #endif -#include "gcocoadialog.h" +#include "gtdialog.h" #include "lua.h" #include "lualib.h" #include "lauxlib.h" @@ -466,7 +466,7 @@ static int lce__newindex(lua_State *L) { /** `gui.dialog()` Lua function. */ static int lgui_dialog(lua_State *L) { - GCDialogType type = gcocoadialog_type(luaL_checkstring(L, 1)); + GTDialogType type = gtdialog_type(luaL_checkstring(L, 1)); int i, j, k, n = lua_gettop(L) - 1, argc = n; for (i = 2; i < n + 2; i++) if (lua_istable(L, i)) argc += lua_rawlen(L, i) - 1; @@ -481,7 +481,7 @@ static int lgui_dialog(lua_State *L) { } } else argv[i++] = luaL_checkstring(L, j); argv[argc] = 0; - char *out = gcocoadialog(type, argc, argv); + char *out = gtdialog(type, argc, argv); lua_pushstring(L, out); free(out), free(argv); return 1; |