Commit 3c244c023b9f08070385252ca93b3184070148a7
1 parent
81532a4e
Exists in
master
and in
1 other branch
Fixing bug on cursor movement reported by user
Showing
2 changed files
with
0 additions
and
26 deletions
Show diff stats
src/v3270/private.h
@@ -87,26 +87,6 @@ G_BEGIN_DECLS | @@ -87,26 +87,6 @@ G_BEGIN_DECLS | ||
87 | 87 | ||
88 | /*--[ Globals ]--------------------------------------------------------------------------------------*/ | 88 | /*--[ Globals ]--------------------------------------------------------------------------------------*/ |
89 | 89 | ||
90 | -/* | ||
91 | - #define V3270_CURSOR_UNPROTECTED LIB3270_CURSOR_EDITABLE | ||
92 | - #define V3270_CURSOR_WAITING LIB3270_CURSOR_WAITING | ||
93 | - #define V3270_CURSOR_LOCKED LIB3270_CURSOR_LOCKED | ||
94 | - | ||
95 | - #define V3270_CURSOR_PROTECTED LIB3270_CURSOR_USER | ||
96 | - #define V3270_CURSOR_MOVE_SELECTION LIB3270_CURSOR_USER+1 | ||
97 | - #define V3270_CURSOR_SELECTION_TOP_LEFT LIB3270_CURSOR_USER+2 | ||
98 | - #define V3270_CURSOR_SELECTION_TOP_RIGHT LIB3270_CURSOR_USER+3 | ||
99 | - #define V3270_CURSOR_SELECTION_TOP LIB3270_CURSOR_USER+4 | ||
100 | - #define V3270_CURSOR_SELECTION_BOTTOM_LEFT LIB3270_CURSOR_USER+5 | ||
101 | - #define V3270_CURSOR_SELECTION_BOTTOM_RIGHT LIB3270_CURSOR_USER+6 | ||
102 | - #define V3270_CURSOR_SELECTION_BOTTOM LIB3270_CURSOR_USER+7 | ||
103 | - #define V3270_CURSOR_SELECTION_LEFT LIB3270_CURSOR_USER+8 | ||
104 | - #define V3270_CURSOR_SELECTION_RIGHT LIB3270_CURSOR_USER+9 | ||
105 | - #define V3270_CURSOR_QUESTION LIB3270_CURSOR_USER+10 | ||
106 | - | ||
107 | - #define V3270_CURSOR_COUNT LIB3270_CURSOR_USER+11 | ||
108 | -*/ | ||
109 | - | ||
110 | struct v3270_ssl_status_msg | 90 | struct v3270_ssl_status_msg |
111 | { | 91 | { |
112 | long id; | 92 | long id; |
src/v3270/widget.c
@@ -507,12 +507,6 @@ static void v3270_class_init(v3270Class *klass) | @@ -507,12 +507,6 @@ static void v3270_class_init(v3270Class *klass) | ||
507 | 507 | ||
508 | } | 508 | } |
509 | 509 | ||
510 | -static int emit_print_signal(H3270 *session) | ||
511 | -{ | ||
512 | - g_signal_emit(GTK_WIDGET(lib3270_get_user_data(session)), v3270_widget_signal[SIGNAL_PRINT], 0); | ||
513 | - return 0; | ||
514 | -} | ||
515 | - | ||
516 | static gboolean activity_tick(v3270 *widget) | 510 | static gboolean activity_tick(v3270 *widget) |
517 | { | 511 | { |
518 | if(widget->activity.disconnect && lib3270_is_connected(widget->host) && ((time(0) - widget->activity.timestamp)/60) >= widget->activity.disconnect) | 512 | if(widget->activity.disconnect && lib3270_is_connected(widget->host) && ((time(0) - widget->activity.timestamp)/60) >= widget->activity.disconnect) |