Commit 362ade025dc615bcb38c7f477fd693b304ac1073
1 parent
06af9372
Exists in
master
and in
1 other branch
Melhorando diálogo de configuração de servidor
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
widget.c
@@ -1444,6 +1444,12 @@ void v3270_set_session_options(GtkWidget *widget, LIB3270_OPTION options) | @@ -1444,6 +1444,12 @@ void v3270_set_session_options(GtkWidget *widget, LIB3270_OPTION options) | ||
1444 | lib3270_set_options(GTK_V3270(widget)->host,options); | 1444 | lib3270_set_options(GTK_V3270(widget)->host,options); |
1445 | } | 1445 | } |
1446 | 1446 | ||
1447 | +int v3270_set_session_color_type(GtkWidget *widget, unsigned short colortype) | ||
1448 | +{ | ||
1449 | + g_return_val_if_fail(GTK_IS_V3270(widget),EFAULT); | ||
1450 | + return lib3270_set_color_type(GTK_V3270(widget)->host,colortype); | ||
1451 | +} | ||
1452 | + | ||
1447 | gboolean v3270_is_connected(GtkWidget *widget) | 1453 | gboolean v3270_is_connected(GtkWidget *widget) |
1448 | { | 1454 | { |
1449 | g_return_val_if_fail(GTK_IS_V3270(widget),FALSE); | 1455 | g_return_val_if_fail(GTK_IS_V3270(widget),FALSE); |