Commit 7f8543bd583684575f42b9fb61cd1c3a94aa44a8
1 parent
a8d704d6
Exists in
master
and in
1 other branch
Fixing warnings.
Showing
4 changed files
with
4 additions
and
2 deletions
Show diff stats
src/selection/copy.c
@@ -32,7 +32,7 @@ | @@ -32,7 +32,7 @@ | ||
32 | 32 | ||
33 | static void do_copy(v3270 *terminal, gboolean cut) | 33 | static void do_copy(v3270 *terminal, gboolean cut) |
34 | { | 34 | { |
35 | - lib3270_selection * selection = lib3270_get_selection(terminal->host,cut,0); | 35 | + lib3270_selection * selection = lib3270_selection_new(terminal->host,cut,0); |
36 | 36 | ||
37 | if(selection) | 37 | if(selection) |
38 | { | 38 | { |
src/selection/get.c
@@ -35,7 +35,7 @@ | @@ -35,7 +35,7 @@ | ||
35 | 35 | ||
36 | GList * g_list_append_lib3270_selection(GList *list, H3270 *hSession, gboolean all) | 36 | GList * g_list_append_lib3270_selection(GList *list, H3270 *hSession, gboolean all) |
37 | { | 37 | { |
38 | - lib3270_selection * selection = lib3270_get_selection(hSession,0,all); | 38 | + lib3270_selection * selection = lib3270_selection_new(hSession,0,all); |
39 | 39 | ||
40 | if(selection) | 40 | if(selection) |
41 | { | 41 | { |
src/terminal/properties/get.c
@@ -28,6 +28,7 @@ | @@ -28,6 +28,7 @@ | ||
28 | */ | 28 | */ |
29 | 29 | ||
30 | #include "private.h" | 30 | #include "private.h" |
31 | + #include <v3270/trace.h> | ||
31 | 32 | ||
32 | /*--[ Implement ]------------------------------------------------------------------------------------*/ | 33 | /*--[ Implement ]------------------------------------------------------------------------------------*/ |
33 | 34 |
src/terminal/properties/set.c
@@ -28,6 +28,7 @@ | @@ -28,6 +28,7 @@ | ||
28 | */ | 28 | */ |
29 | 29 | ||
30 | #include "private.h" | 30 | #include "private.h" |
31 | + #include <v3270/trace.h> | ||
31 | 32 | ||
32 | /*--[ Implement ]------------------------------------------------------------------------------------*/ | 33 | /*--[ Implement ]------------------------------------------------------------------------------------*/ |
33 | 34 |