From ded7028cfc0fb2eadea547c6d9fc6978a0d93640 Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Thu, 17 Apr 2014 14:34:23 +0200
Subject: [PATCH] test

---
 src/web-awesomium/web.cpp | 5 ++++-
 src/web-awesomium/web.h   | 3 ++-
 src/web.c                 | 2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/web-awesomium/web.cpp b/src/web-awesomium/web.cpp
index 65e8ece4e0..bab98986b3 100644
--- a/src/web-awesomium/web.cpp
+++ b/src/web-awesomium/web.cpp
@@ -499,6 +499,9 @@ void te4_web_setup(
 	}
 }
 
-void te4_web_initialize() {
+void te4_web_initialize(const char *locales, const char *pak) {
 	te4_web_init_utils();
 }
+
+void te4_web_shutdown() {
+}
diff --git a/src/web-awesomium/web.h b/src/web-awesomium/web.h
index 18de1ce2ea..90b0718d93 100644
--- a/src/web-awesomium/web.h
+++ b/src/web-awesomium/web.h
@@ -29,7 +29,8 @@ WEB_TE4_API void te4_web_setup(
 	void (*key_mods)(bool*, bool*, bool*, bool*),
 	void (*web_instant_js)(int handlers, const char *fct, int nb_args, WebJsValue *args, WebJsValue *ret)
 );
-WEB_TE4_API void te4_web_initialize();
+WEB_TE4_API void te4_web_initialize(const char *locales, const char *pak);
+WEB_TE4_API void te4_web_shutdown();
 WEB_TE4_API void te4_web_do_update(void (*cb)(WebEvent*));
 WEB_TE4_API void te4_web_new(web_view_type *view, int w, int h);
 WEB_TE4_API bool te4_web_close(web_view_type *view);
diff --git a/src/web.c b/src/web.c
index a8dc971d61..6dcef3f459 100644
--- a/src/web.c
+++ b/src/web.c
@@ -391,7 +391,7 @@ void te4_web_init(lua_State *L) {
 	auxiliar_newclass(L, "web{view}", view_reg);
 	luaL_openlib(L, "core.webview", weblib, 0);
 	lua_pushstring(L, "kind");
-	lua_pushstring(L, "cef3");
+	lua_pushstring(L, "awesomium");
 	lua_settable(L, -3);
 	lua_settop(L, 0);
 }
-- 
GitLab