mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 04:22:47 -05:00
Make the GTK font setup error box non-modal.
That was the last (in fact, the only) call to the modal version of message_box() outside gtkdlg.c, so I can remove it from the header file.
This commit is contained in:
@ -4167,10 +4167,10 @@ static void after_change_settings_dialog(void *vctx, int retval)
|
||||
char *msgboxtext =
|
||||
dupprintf("Could not change fonts in terminal window: %s\n",
|
||||
errmsg);
|
||||
message_box(inst->window, "Font setup error", msgboxtext,
|
||||
string_width("Could not change fonts in terminal"
|
||||
" window:"),
|
||||
FALSE, &buttons_ok);
|
||||
create_message_box(
|
||||
inst->window, "Font setup error", msgboxtext,
|
||||
string_width("Could not change fonts in terminal window:"),
|
||||
FALSE, &buttons_ok, trivial_post_dialog_fn, NULL);
|
||||
sfree(msgboxtext);
|
||||
sfree(errmsg);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user