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

Fixes https://github.com/libsdl-org/SDL/issues/7895
main
Sam Lantinga 2023-06-29 22:45:59 -07:00
parent 18ff0d1878
commit 55c3c1b05c
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); _exit(128);
} }
argv[argc++] = "--icon-name"; argv[argc++] = "--icon";
switch (messageboxdata->flags) { switch (messageboxdata->flags) {
case SDL_MESSAGEBOX_ERROR: case SDL_MESSAGEBOX_ERROR:
argv[argc++] = "dialog-error"; argv[argc++] = "dialog-error";