Commit bb463c91350799ce41aac91f5650b5837aff0530
1 parent
d8b7a2d4
Exists in
master
and in
1 other branch
Updating ABI.
Showing
3 changed files
with
5 additions
and
5 deletions
Show diff stats
src/terminal/accessible.c
@@ -438,7 +438,7 @@ static gchar * v3270_accessible_get_text(AtkText *atk_text, gint start_pos, gint | @@ -438,7 +438,7 @@ static gchar * v3270_accessible_get_text(AtkText *atk_text, gint start_pos, gint | ||
438 | if(!host) | 438 | if(!host) |
439 | return NULL; | 439 | return NULL; |
440 | 440 | ||
441 | - if(!lib3270_connected(host)) | 441 | + if(!lib3270_is_connected(host)) |
442 | return g_strdup( "" ); | 442 | return g_strdup( "" ); |
443 | 443 | ||
444 | text = lib3270_get_string_at_address(host,start_pos,end_pos < start_pos ? -1 : (end_pos - start_pos),'\n'); | 444 | text = lib3270_get_string_at_address(host,start_pos,end_pos < start_pos ? -1 : (end_pos - start_pos),'\n'); |
src/terminal/mouse.c
@@ -127,7 +127,7 @@ void v3270_emit_popup(v3270 *widget, int baddr, GdkEventButton *event) | @@ -127,7 +127,7 @@ void v3270_emit_popup(v3270 *widget, int baddr, GdkEventButton *event) | ||
127 | 127 | ||
128 | g_signal_emit(GTK_WIDGET(widget), v3270_widget_signal[V3270_SIGNAL_POPUP], 0, | 128 | g_signal_emit(GTK_WIDGET(widget), v3270_widget_signal[V3270_SIGNAL_POPUP], 0, |
129 | (attr & LIB3270_ATTR_SELECTED) ? TRUE : FALSE, | 129 | (attr & LIB3270_ATTR_SELECTED) ? TRUE : FALSE, |
130 | - lib3270_connected(widget->host) ? TRUE : FALSE, | 130 | + lib3270_is_connected(widget->host) ? TRUE : FALSE, |
131 | event, | 131 | event, |
132 | &handled); | 132 | &handled); |
133 | 133 | ||
@@ -196,7 +196,7 @@ gboolean v3270_button_release_event(GtkWidget *widget, GdkEventButton*event) | @@ -196,7 +196,7 @@ gboolean v3270_button_release_event(GtkWidget *widget, GdkEventButton*event) | ||
196 | gboolean handled = FALSE; | 196 | gboolean handled = FALSE; |
197 | 197 | ||
198 | g_signal_emit(widget, v3270_widget_signal[V3270_SIGNAL_FIELD], 0, | 198 | g_signal_emit(widget, v3270_widget_signal[V3270_SIGNAL_FIELD], 0, |
199 | - lib3270_connected(GTK_V3270(widget)->host) ? TRUE : FALSE, | 199 | + lib3270_is_connected(GTK_V3270(widget)->host) ? TRUE : FALSE, |
200 | GTK_V3270(widget)->oia.selected, | 200 | GTK_V3270(widget)->oia.selected, |
201 | event, | 201 | event, |
202 | &handled); | 202 | &handled); |
@@ -238,7 +238,7 @@ gboolean v3270_motion_notify_event(GtkWidget *widget, GdkEventMotion *event) | @@ -238,7 +238,7 @@ gboolean v3270_motion_notify_event(GtkWidget *widget, GdkEventMotion *event) | ||
238 | v3270 * terminal = GTK_V3270(widget); | 238 | v3270 * terminal = GTK_V3270(widget); |
239 | int baddr; | 239 | int baddr; |
240 | 240 | ||
241 | - if(!lib3270_connected(terminal->host)) | 241 | + if(!lib3270_is_connected(terminal->host)) |
242 | { | 242 | { |
243 | v3270_set_cursor(widget,LIB3270_POINTER_LOCKED); | 243 | v3270_set_cursor(widget,LIB3270_POINTER_LOCKED); |
244 | return FALSE; | 244 | return FALSE; |
src/terminal/widget.c
@@ -147,7 +147,7 @@ gboolean v3270_query_tooltip(GtkWidget *widget, gint x, gint y, G_GNUC_UNUSED g | @@ -147,7 +147,7 @@ gboolean v3270_query_tooltip(GtkWidget *widget, gint x, gint y, G_GNUC_UNUSED g | ||
147 | { | 147 | { |
148 | H3270 *hSession = GTK_V3270(widget)->host; | 148 | H3270 *hSession = GTK_V3270(widget)->host; |
149 | 149 | ||
150 | - if(!lib3270_connected(hSession)) | 150 | + if(!lib3270_is_connected(hSession)) |
151 | { | 151 | { |
152 | #ifndef _WIN32 | 152 | #ifndef _WIN32 |
153 | gtk_tooltip_set_icon_from_icon_name(tooltip,"gtk-disconnect",GTK_ICON_SIZE_DIALOG); | 153 | gtk_tooltip_set_icon_from_icon_name(tooltip,"gtk-disconnect",GTK_ICON_SIZE_DIALOG); |