From b12e1e05cccf2c983b3e1dd52449095e9faee4a6 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 2 Jun 2012 11:17:14 -0400 Subject: GCocoaDialog was renamed gtDialog. --- src/textadept.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/textadept.c') 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; -- cgit v1.2.3