Commit 8c017972e0bba39847fb058143a296c34f1a7108
1 parent
20a7ff89
Exists in
master
and in
1 other branch
Incluindo método para obtenção do nome da LU pelo terminal.
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
widget.c
@@ -1620,6 +1620,12 @@ const gchar * v3270_get_hostname(GtkWidget *widget) | @@ -1620,6 +1620,12 @@ const gchar * v3270_get_hostname(GtkWidget *widget) | ||
1620 | return lib3270_get_hostname(GTK_V3270(widget)->host); | 1620 | return lib3270_get_hostname(GTK_V3270(widget)->host); |
1621 | } | 1621 | } |
1622 | 1622 | ||
1623 | +const gchar * v3270_get_luname(GtkWidget *widget) | ||
1624 | +{ | ||
1625 | + g_return_val_if_fail(GTK_IS_V3270(widget),""); | ||
1626 | + return lib3270_get_luname(GTK_V3270(widget)->host); | ||
1627 | +} | ||
1628 | + | ||
1623 | const gchar * v3270_get_session_name(GtkWidget *widget) | 1629 | const gchar * v3270_get_session_name(GtkWidget *widget) |
1624 | { | 1630 | { |
1625 | if(!GTK_IS_V3270(widget) || GTK_V3270(widget)->session_name == NULL) | 1631 | if(!GTK_IS_V3270(widget) || GTK_V3270(widget)->session_name == NULL) |