Commit 9d93b605c18add6e96226f2795c24f71e978df4d
1 parent
68f0118e
Exists in
master
and in
1 other branch
+ Updating lib3270 api.
Showing
2 changed files
with
3 additions
and
5 deletions
Show diff stats
src/include/v3270.h
@@ -236,7 +236,7 @@ | @@ -236,7 +236,7 @@ | ||
236 | void v3270_set_session_options(GtkWidget *widget, LIB3270_OPTION options); | 236 | void v3270_set_session_options(GtkWidget *widget, LIB3270_OPTION options); |
237 | int v3270_set_session_color_type(GtkWidget *widget, unsigned short colortype); | 237 | int v3270_set_session_color_type(GtkWidget *widget, unsigned short colortype); |
238 | int v3270_set_host_type(GtkWidget *widget, const char *name); | 238 | int v3270_set_host_type(GtkWidget *widget, const char *name); |
239 | - const gchar * v3270_set_url(GtkWidget *widget, const gchar *uri); | 239 | + void v3270_set_url(GtkWidget *widget, const gchar *uri); |
240 | const gchar * v3270_get_hostname(GtkWidget *widget); | 240 | const gchar * v3270_get_hostname(GtkWidget *widget); |
241 | const char * v3270_get_luname(GtkWidget *widget); | 241 | const char * v3270_get_luname(GtkWidget *widget); |
242 | GtkWidget * v3270_get_default_widget(void); | 242 | GtkWidget * v3270_get_default_widget(void); |
src/v3270/widget.c
@@ -1605,14 +1605,12 @@ gboolean v3270_get_toggle(GtkWidget *widget, LIB3270_TOGGLE ix) | @@ -1605,14 +1605,12 @@ gboolean v3270_get_toggle(GtkWidget *widget, LIB3270_TOGGLE ix) | ||
1605 | * | 1605 | * |
1606 | * Set the default URL for the tn3270e host. | 1606 | * Set the default URL for the tn3270e host. |
1607 | * | 1607 | * |
1608 | - * Returns: The lib3270 processed string as an internal constant. | ||
1609 | - * | ||
1610 | * Since: 5.0 | 1608 | * Since: 5.0 |
1611 | **/ | 1609 | **/ |
1612 | -const gchar * v3270_set_url(GtkWidget *widget, const gchar *uri) | 1610 | +const void v3270_set_url(GtkWidget *widget, const gchar *uri) |
1613 | { | 1611 | { |
1614 | g_return_val_if_fail(GTK_IS_V3270(widget),NULL); | 1612 | g_return_val_if_fail(GTK_IS_V3270(widget),NULL); |
1615 | - return lib3270_set_url(GTK_V3270(widget)->host,uri); | 1613 | + lib3270_set_url(GTK_V3270(widget)->host,uri); |
1616 | } | 1614 | } |
1617 | 1615 | ||
1618 | const gchar * v3270_get_hostname(GtkWidget *widget) | 1616 | const gchar * v3270_get_hostname(GtkWidget *widget) |