Commit 68eda3aa3de9fcfd39a70605486788fb18367fb8
1 parent
bb463c91
Exists in
master
and in
1 other branch
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 | 866 | |
| 867 | 867 | terminal->activity.timestamp = time(0); |
| 868 | 868 | |
| 869 | - if(lib3270_connected(terminal->host)) | |
| 869 | + if(lib3270_is_connected(terminal->host)) | |
| 870 | 870 | lib3270_enter(terminal->host); |
| 871 | 871 | else if(lib3270_get_url(terminal->host)) |
| 872 | 872 | v3270_reconnect(widget); |
| ... | ... | @@ -966,7 +966,7 @@ LIB3270_EXPORT int v3270_set_host_type_by_name(GtkWidget *widget, const char *na |
| 966 | 966 | LIB3270_EXPORT gboolean v3270_is_connected(GtkWidget *widget) |
| 967 | 967 | { |
| 968 | 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 | 972 | LIB3270_EXPORT int v3270_set_host_charset(GtkWidget *widget, const gchar *name) | ... | ... |