diff --git a/src/include/v3270.h b/src/include/v3270.h index b8da75c..e852079 100644 --- a/src/include/v3270.h +++ b/src/include/v3270.h @@ -236,7 +236,7 @@ void v3270_set_session_options(GtkWidget *widget, LIB3270_OPTION options); int v3270_set_session_color_type(GtkWidget *widget, unsigned short colortype); int v3270_set_host_type(GtkWidget *widget, const char *name); - const gchar * v3270_set_url(GtkWidget *widget, const gchar *uri); + void v3270_set_url(GtkWidget *widget, const gchar *uri); const gchar * v3270_get_hostname(GtkWidget *widget); const char * v3270_get_luname(GtkWidget *widget); GtkWidget * v3270_get_default_widget(void); diff --git a/src/v3270/widget.c b/src/v3270/widget.c index e17add8..784b529 100644 --- a/src/v3270/widget.c +++ b/src/v3270/widget.c @@ -1605,14 +1605,12 @@ gboolean v3270_get_toggle(GtkWidget *widget, LIB3270_TOGGLE ix) * * Set the default URL for the tn3270e host. * - * Returns: The lib3270 processed string as an internal constant. - * * Since: 5.0 **/ -const gchar * v3270_set_url(GtkWidget *widget, const gchar *uri) +const void v3270_set_url(GtkWidget *widget, const gchar *uri) { g_return_val_if_fail(GTK_IS_V3270(widget),NULL); - return lib3270_set_url(GTK_V3270(widget)->host,uri); + lib3270_set_url(GTK_V3270(widget)->host,uri); } const gchar * v3270_get_hostname(GtkWidget *widget) -- libgit2 0.21.2