From 8c3167489640a67a4c46cffaafcdd9ab4a8568b0 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Wed, 25 Sep 2019 16:09:33 -0300 Subject: [PATCH] Updating to the new LIB3270_ACTION based methods. --- src/pw3270/actions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pw3270/actions.c b/src/pw3270/actions.c index 63cdc51..933fdd0 100644 --- a/src/pw3270/actions.c +++ b/src/pw3270/actions.c @@ -336,13 +336,13 @@ static void connect_standard_action(GtkAction *action, GtkWidget *widget, const int f; // Search for lib3270 predefined actions - const LIB3270_ACTION_ENTRY * lib3270_actions = lib3270_get_action_table(); + const LIB3270_ACTION * lib3270_actions = lib3270_get_actions(); for(f=0; lib3270_actions[f].name; f++) { if(!g_ascii_strcasecmp(name,lib3270_actions[f].name)) { - g_object_set_data(G_OBJECT(action),"lib3270_call",lib3270_actions[f].call); + g_object_set_data(G_OBJECT(action),"lib3270_call",lib3270_actions[f].activate); g_signal_connect(action,"activate",G_CALLBACK(do_lib3270_action),widget); return; } -- libgit2 0.21.2