Commit c00d86946ae6e4a9e3c1de66f48d89c1b062abe4

Authored by perry.werneck@gmail.com
1 parent 7c1c10c4
Exists in master and in 1 other branch develop

Small fixes in the API

Showing 1 changed file with 6 additions and 0 deletions   Show diff stats
widget.c
... ... @@ -1552,6 +1552,12 @@ int v3270_set_session_color_type(GtkWidget *widget, unsigned short colortype)
1552 1552 return lib3270_set_color_type(GTK_V3270(widget)->host,colortype);
1553 1553 }
1554 1554  
  1555 +unsigned short v3270_get_session_color_type(GtkWidget *widget)
  1556 +{
  1557 + g_return_val_if_fail(GTK_IS_V3270(widget),-1);
  1558 + return lib3270_get_color_type(GTK_V3270(widget)->host);
  1559 +}
  1560 +
1555 1561 gboolean v3270_is_connected(GtkWidget *widget)
1556 1562 {
1557 1563 g_return_val_if_fail(GTK_IS_V3270(widget),FALSE);
... ...