Commit cd9a3e63c03dab38abb56cacfa9459db4cc7299d
1 parent
6648b8a8
Exists in
master
and in
1 other branch
Updating API based on latest lib3270 updates.
Showing
3 changed files
with
5 additions
and
5 deletions
Show diff stats
src/include/v3270.h
... | ... | @@ -259,7 +259,7 @@ |
259 | 259 | LIB3270_EXPORT void v3270_set_url(GtkWidget *widget, const gchar *uri); |
260 | 260 | LIB3270_EXPORT const gchar * v3270_get_url(GtkWidget *widget); |
261 | 261 | |
262 | - LIB3270_EXPORT const char * v3270_get_luname(GtkWidget *widget); | |
262 | + LIB3270_EXPORT const char * v3270_get_associated_luname(const GtkWidget *widget); | |
263 | 263 | |
264 | 264 | LIB3270_EXPORT void v3270_set_session_host_type(GtkWidget *widget, LIB3270_HOST_TYPE); |
265 | 265 | ... | ... |
src/terminal/drawing/oia.c
... | ... | @@ -176,7 +176,7 @@ static void setup_spinner_position(GdkRectangle *rect, G_GNUC_UNUSED v3270FontIn |
176 | 176 | |
177 | 177 | static void setup_luname_position(GdkRectangle *rect, v3270FontInfo *font, cairo_t *cr, H3270 *host, G_GNUC_UNUSED int cols, GdkRGBA *color) |
178 | 178 | { |
179 | - const char *luname = lib3270_get_luname(host); | |
179 | + const char *luname = lib3270_get_associated_luname(host); | |
180 | 180 | |
181 | 181 | rect->width *= 16; |
182 | 182 | rect->x -= rect->width; |
... | ... | @@ -701,7 +701,7 @@ gboolean v3270_update_luname(v3270 *terminal) |
701 | 701 | GdkRectangle * rect; |
702 | 702 | cairo_t * cr = v3270_oia_set_update_region(terminal,&rect,V3270_OIA_LUNAME); |
703 | 703 | |
704 | - const char * name = lib3270_get_luname(terminal->host); | |
704 | + const char * name = lib3270_get_associated_luname(terminal->host); | |
705 | 705 | if(name) |
706 | 706 | { |
707 | 707 | gdk_cairo_set_source_rgba(cr,terminal->color+V3270_COLOR_OIA_LUNAME); | ... | ... |
src/terminal/properties/get.c
... | ... | @@ -122,10 +122,10 @@ LIB3270_EXPORT const gchar * v3270_get_url(GtkWidget *widget) |
122 | 122 | return lib3270_get_url(GTK_V3270(widget)->host); |
123 | 123 | } |
124 | 124 | |
125 | -LIB3270_EXPORT const gchar * v3270_get_luname(GtkWidget *widget) | |
125 | +LIB3270_EXPORT const gchar * v3270_get_associated_luname(const GtkWidget *widget) | |
126 | 126 | { |
127 | 127 | g_return_val_if_fail(GTK_IS_V3270(widget),""); |
128 | - return lib3270_get_luname(GTK_V3270(widget)->host); | |
128 | + return lib3270_get_associated_luname(GTK_V3270(widget)->host); | |
129 | 129 | } |
130 | 130 | |
131 | 131 | LIB3270_EXPORT const gchar * v3270_get_session_name(GtkWidget *widget) | ... | ... |