Commit 6e1059e290c85dc29b0a7d8dd2fe5336becafa48
1 parent
4ea80e90
Exists in
master
and in
1 other branch
Fixing build warnings.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/dialogs/print/print.c
... | ... | @@ -29,8 +29,8 @@ |
29 | 29 | |
30 | 30 | #include "private.h" |
31 | 31 | #include <sys/param.h> |
32 | - #include <terminal.h> | |
33 | 32 | #include <lib3270/selection.h> |
33 | + #include <clipboard.h> | |
34 | 34 | |
35 | 35 | G_DEFINE_TYPE(V3270PrintOperation, V3270PrintOperation, GTK_TYPE_PRINT_OPERATION); |
36 | 36 | |
... | ... | @@ -124,7 +124,7 @@ V3270PrintOperation * v3270_print_operation_new(GtkWidget *widget, LIB3270_CONTE |
124 | 124 | |
125 | 125 | case LIB3270_CONTENT_COPY: |
126 | 126 | debug("%s","LIB3270_CONTENT_COPY"); |
127 | - operation->contents.selection = v3270_get_selection_blocks(operation->widget); | |
127 | + operation->contents.selection = v3270_get_selection_blocks(GTK_WIDGET(operation->widget)); | |
128 | 128 | break; |
129 | 129 | |
130 | 130 | case LIB3270_CONTENT_SELECTED: | ... | ... |