Commit 28828f1d6d224bf106f9bef55f8a2c36252e0b92
1 parent
16dca8a3
Exists in
master
and in
5 other branches
+ Updating lib3270 api
Showing
3 changed files
with
4 additions
and
4 deletions
Show diff stats
modules/libv3270
src/include/pw3270.h
| ... | ... | @@ -51,7 +51,7 @@ |
| 51 | 51 | |
| 52 | 52 | |
| 53 | 53 | LIB3270_EXPORT GtkWidget * pw3270_new(const gchar *host, const gchar *systype, unsigned short colors); |
| 54 | - LIB3270_EXPORT const gchar * pw3270_set_url(GtkWidget *widget, const gchar *uri); | |
| 54 | + LIB3270_EXPORT void pw3270_set_url(GtkWidget *widget, const gchar *uri); | |
| 55 | 55 | LIB3270_EXPORT const gchar * pw3270_get_hostname(GtkWidget *widget); |
| 56 | 56 | LIB3270_EXPORT void pw3270_connect(GtkWidget *widget); |
| 57 | 57 | ... | ... |
src/pw3270/window.c
| ... | ... | @@ -210,10 +210,10 @@ |
| 210 | 210 | v3270_connect(GTK_PW3270(widget)->terminal); |
| 211 | 211 | } |
| 212 | 212 | |
| 213 | - const gchar * pw3270_set_url(GtkWidget *widget, const gchar *uri) | |
| 213 | + void pw3270_set_url(GtkWidget *widget, const gchar *uri) | |
| 214 | 214 | { |
| 215 | 215 | g_return_val_if_fail(GTK_IS_PW3270(widget),""); |
| 216 | - return v3270_set_url(GTK_PW3270(widget)->terminal,uri); | |
| 216 | + v3270_set_url(GTK_PW3270(widget)->terminal,uri); | |
| 217 | 217 | } |
| 218 | 218 | |
| 219 | 219 | const gchar * pw3270_get_hostname(GtkWidget *widget) | ... | ... |