diff options
Diffstat (limited to 'epan/wslua/wslua_gui.c')
-rw-r--r-- | epan/wslua/wslua_gui.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/epan/wslua/wslua_gui.c b/epan/wslua/wslua_gui.c index 7732e4e235..e1c8d019f6 100644 --- a/epan/wslua/wslua_gui.c +++ b/epan/wslua/wslua_gui.c @@ -25,6 +25,7 @@ #include "config.h" #include <epan/wmem/wmem.h> +#include <wsutil/ws_printf.h> /* ws_g_warning */ #include "wslua.h" @@ -60,10 +61,10 @@ static void lua_menu_callback(gpointer data) { case 0: break; case LUA_ERRRUN: - g_warning("Runtime error while calling menu callback"); + ws_g_warning("Runtime error while calling menu callback"); break; case LUA_ERRMEM: - g_warning("Memory alloc error while calling menu callback"); + ws_g_warning("Memory alloc error while calling menu callback"); break; default: g_assert_not_reached(); @@ -157,10 +158,10 @@ static void lua_dialog_cb(gchar** user_input, void* data) { case 0: break; case LUA_ERRRUN: - g_warning("Runtime error while calling dialog callback"); + ws_g_warning("Runtime error while calling dialog callback"); break; case LUA_ERRMEM: - g_warning("Memory alloc error while calling dialog callback"); + ws_g_warning("Memory alloc error while calling dialog callback"); break; default: g_assert_not_reached(); @@ -196,10 +197,10 @@ static void text_win_close_cb(void* data) { case 0: break; case LUA_ERRRUN: - g_warning("Runtime error during execution of TextWindow close callback"); + ws_g_warning("Runtime error during execution of TextWindow close callback"); break; case LUA_ERRMEM: - g_warning("Memory alloc error during execution of TextWindow close callback"); + ws_g_warning("Memory alloc error during execution of TextWindow close callback"); break; default: break; @@ -623,10 +624,10 @@ static gboolean wslua_button_callback(funnel_text_window_t* ws_tw, void* data) { case 0: break; case LUA_ERRRUN: - g_warning("Runtime error while calling button callback"); + ws_g_warning("Runtime error while calling button callback"); break; case LUA_ERRMEM: - g_warning("Memory alloc error while calling button callback"); + ws_g_warning("Memory alloc error while calling button callback"); break; default: g_assert_not_reached(); |