Revert "Zenity has deprecated --icon-name in favor of --icon"

This reverts commit 55c3c1b05c.

It turns out many Linux distributions are shipping zenity which doesn't support the new --icon option. We'll need a more robust fix for this.
main
Sam Lantinga 2023-06-29 23:01:36 -07:00
parent 55c3c1b05c
commit 5b9fdc9dd1
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ int Wayland_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *button
_exit(128);
}
argv[argc++] = "--icon";
argv[argc++] = "--icon-name";
switch (messageboxdata->flags) {
case SDL_MESSAGEBOX_ERROR:
argv[argc++] = "dialog-error";