Zenity has deprecated --icon-name in favor of --icon
Fixes https://github.com/libsdl-org/SDL/issues/7895main
parent
18ff0d1878
commit
55c3c1b05c
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue