Commit 9ee95bd6ce4c04da7c9c5afc1945ec087d17df1a
1 parent
c75b574b
Exists in
master
and in
1 other branch
Fixing warnings.
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/dialogs/print/print.c
... | ... | @@ -157,7 +157,7 @@ V3270PrintOperation * v3270_print_operation_new(GtkWidget *widget, LIB3270_CONTE |
157 | 157 | operation->mode = mode; |
158 | 158 | operation->widget = GTK_V3270(widget); |
159 | 159 | operation->session = v3270_get_session(widget); |
160 | - operation->settings = V3270_print_settings_new(widget); | |
160 | + operation->settings = GTK_V3270_PRINT_SETTINGS(V3270_print_settings_new(widget)); | |
161 | 161 | |
162 | 162 | // Get contents. |
163 | 163 | switch(operation->mode) | ... | ... |
src/dialogs/save/convenience.c
... | ... | @@ -59,7 +59,7 @@ |
59 | 59 | GTK_WINDOW(gtk_widget_get_toplevel(widget)), |
60 | 60 | GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT, |
61 | 61 | GTK_MESSAGE_ERROR,GTK_BUTTONS_CLOSE, |
62 | - message | |
62 | + "%s", message | |
63 | 63 | ); |
64 | 64 | |
65 | 65 | gtk_window_set_title(GTK_WINDOW(popup),_("Operation has failed")); | ... | ... |