Commit b2d0e4966bb23117ed55c9ab5ff5e1090971810c

Authored by Perry Werneck
1 parent c738e9c1

Updating main application to reflect api changes.

modules/lib3270
1 -Subproject commit f5f647729298e6755ca1f20deb3d4fe5c50d6a36 1 +Subproject commit 65911c554ce0232cabef832ac46c3ff654aee24f
modules/libv3270
1 -Subproject commit acfaf4f5f20f89f7ceef7b92c9dd7da94417f0f6 1 +Subproject commit 0f265d2041316c5db146a717a21ed21620c44c26
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,7 +291,7 @@ void pw3270_dbus_get_text_at(PW3270Dbus *object, int row, int col, int len, char
291 if(pw3270_dbus_check_valid_state(object,context)) 291 if(pw3270_dbus_check_valid_state(object,context))
292 return; 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 if(!text) 295 if(!text)
296 { 296 {
297 GError *error = pw3270_dbus_get_error_from_errno(errno); 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,7 +323,7 @@ void pw3270_dbus_get_text_at(PW3270Dbus *object, int row, int col, int len, char
323 len = lib3270_get_length(hSession); 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 if(!text) 327 if(!text)
328 { 328 {
329 GError *error = pw3270_dbus_get_error_from_errno(errno); 329 GError *error = pw3270_dbus_get_error_from_errno(errno);
src/plugins/hllapi/pluginmain.c
@@ -297,7 +297,7 @@ @@ -297,7 +297,7 @@
297 break; 297 break;
298 298
299 case HLLAPI_PACKET_GET_TEXT_AT: 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 ((struct hllapi_packet_at *) source->buffer)->row, 301 ((struct hllapi_packet_at *) source->buffer)->row,
302 ((struct hllapi_packet_at *) source->buffer)->col, 302 ((struct hllapi_packet_at *) source->buffer)->col,
303 ((struct hllapi_packet_at *) source->buffer)->len, 303 ((struct hllapi_packet_at *) source->buffer)->len,