Commit b2d0e4966bb23117ed55c9ab5ff5e1090971810c
1 parent
c738e9c1
Exists in
master
and in
5 other branches
Updating main application to reflect api changes.
Showing
4 changed files
with
5 additions
and
5 deletions
Show diff stats
modules/lib3270
modules/libv3270
src/plugins/dbus3270/gobject.c
| ... | ... | @@ -291,7 +291,7 @@ void pw3270_dbus_get_text_at(PW3270Dbus *object, int row, int col, int len, char |
| 291 | 291 | if(pw3270_dbus_check_valid_state(object,context)) |
| 292 | 292 | return; |
| 293 | 293 | |
| 294 | - text = lib3270_get_text_at(hSession, row, col, len, lf); | |
| 294 | + text = lib3270_get_string_at(hSession, row, col, len, lf); | |
| 295 | 295 | if(!text) |
| 296 | 296 | { |
| 297 | 297 | GError *error = pw3270_dbus_get_error_from_errno(errno); |
| ... | ... | @@ -323,7 +323,7 @@ void pw3270_dbus_get_text_at(PW3270Dbus *object, int row, int col, int len, char |
| 323 | 323 | len = lib3270_get_length(hSession); |
| 324 | 324 | } |
| 325 | 325 | |
| 326 | - text = lib3270_get_text(hSession,offset,len,lf); | |
| 326 | + text = lib3270_get_string_at_address(hSession,offset,len,lf); | |
| 327 | 327 | if(!text) |
| 328 | 328 | { |
| 329 | 329 | GError *error = pw3270_dbus_get_error_from_errno(errno); | ... | ... |
src/plugins/hllapi/pluginmain.c
| ... | ... | @@ -297,7 +297,7 @@ |
| 297 | 297 | break; |
| 298 | 298 | |
| 299 | 299 | case HLLAPI_PACKET_GET_TEXT_AT: |
| 300 | - send_text(source,lib3270_get_text_at( lib3270_get_default_session_handle(), | |
| 300 | + send_text(source,lib3270_get_string_at( lib3270_get_default_session_handle(), | |
| 301 | 301 | ((struct hllapi_packet_at *) source->buffer)->row, |
| 302 | 302 | ((struct hllapi_packet_at *) source->buffer)->col, |
| 303 | 303 | ((struct hllapi_packet_at *) source->buffer)->len, | ... | ... |