Commit 68eda3aa3de9fcfd39a70605486788fb18367fb8

Authored by Perry Werneck
1 parent bb463c91
Exists in master and in 1 other branch develop

Fixing bugs caused by main library changes.

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/terminal/widget.c
@@ -866,7 +866,7 @@ static void v3270_activate(GtkWidget *widget) @@ -866,7 +866,7 @@ static void v3270_activate(GtkWidget *widget)
866 866
867 terminal->activity.timestamp = time(0); 867 terminal->activity.timestamp = time(0);
868 868
869 - if(lib3270_connected(terminal->host)) 869 + if(lib3270_is_connected(terminal->host))
870 lib3270_enter(terminal->host); 870 lib3270_enter(terminal->host);
871 else if(lib3270_get_url(terminal->host)) 871 else if(lib3270_get_url(terminal->host))
872 v3270_reconnect(widget); 872 v3270_reconnect(widget);
@@ -966,7 +966,7 @@ LIB3270_EXPORT int v3270_set_host_type_by_name(GtkWidget *widget, const char *na @@ -966,7 +966,7 @@ LIB3270_EXPORT int v3270_set_host_type_by_name(GtkWidget *widget, const char *na
966 LIB3270_EXPORT gboolean v3270_is_connected(GtkWidget *widget) 966 LIB3270_EXPORT gboolean v3270_is_connected(GtkWidget *widget)
967 { 967 {
968 g_return_val_if_fail(GTK_IS_V3270(widget),FALSE); 968 g_return_val_if_fail(GTK_IS_V3270(widget),FALSE);
969 - return lib3270_connected(GTK_V3270(widget)->host) ? TRUE : FALSE; 969 + return lib3270_is_connected(GTK_V3270(widget)->host) ? TRUE : FALSE;
970 } 970 }
971 971
972 LIB3270_EXPORT int v3270_set_host_charset(GtkWidget *widget, const gchar *name) 972 LIB3270_EXPORT int v3270_set_host_charset(GtkWidget *widget, const gchar *name)