Commit ee2c5a312afc21f2f5a57c248d1452f7d69f7a58
1 parent
14417e0e
Exists in
master
and in
5 other branches
Corrigindo erro na chama de diálogo do plugin.
Showing
2 changed files
with
6 additions
and
5 deletions
Show diff stats
src/java/plugin.cc
... | ... | @@ -302,9 +302,9 @@ |
302 | 302 | return 0; |
303 | 303 | } |
304 | 304 | |
305 | - string file_chooser_dialog(GtkFileChooserAction action, const char *title, const char *extension, const char *filename) { | |
305 | + string file_chooser_dialog(int action, const char *title, const char *extension, const char *filename) { | |
306 | 306 | string rc; |
307 | - gchar * ptr = pw3270_file_chooser(action, "java", title, filename, extension); | |
307 | + gchar * ptr = pw3270_file_chooser((GtkFileChooserAction) action, "java", title, filename, extension); | |
308 | 308 | |
309 | 309 | if(ptr) |
310 | 310 | { | ... | ... |
src/plugins/rx3270/pluginmain.cc
... | ... | @@ -140,7 +140,7 @@ |
140 | 140 | int set_clipboard(const char *text); |
141 | 141 | |
142 | 142 | int popup_dialog(LIB3270_NOTIFY id , const char *title, const char *message, const char *fmt, ...); |
143 | - string file_chooser_dialog(GtkFileChooserAction action, const char *title, const char *extension, const char *filename); | |
143 | + string file_chooser_dialog(int action, const char *title, const char *extension, const char *filename); | |
144 | 144 | |
145 | 145 | int set_host_charset(const char *charset); |
146 | 146 | string get_host_charset(void); |
... | ... | @@ -755,10 +755,10 @@ int plugin::popup_dialog(LIB3270_NOTIFY id , const char *title, const char *mess |
755 | 755 | return 0; |
756 | 756 | } |
757 | 757 | |
758 | -string plugin::file_chooser_dialog(GtkFileChooserAction action, const char *title, const char *extension, const char *filename) | |
758 | +string plugin::file_chooser_dialog(int action, const char *title, const char *extension, const char *filename) | |
759 | 759 | { |
760 | 760 | string rc; |
761 | - gchar * ptr = pw3270_file_chooser(action, script_name ? script_name : "rexx", title, filename, extension); | |
761 | + gchar * ptr = pw3270_file_chooser((GtkFileChooserAction) action, script_name ? script_name : "rexx", title, filename, extension); | |
762 | 762 | |
763 | 763 | if(ptr) |
764 | 764 | { |
... | ... | @@ -847,3 +847,4 @@ void plugin::set_unlock_delay(unsigned short ms) |
847 | 847 | { |
848 | 848 | lib3270_set_unlock_delay(hSession, (unsigned short) ms); |
849 | 849 | } |
850 | + | ... | ... |