Browse Source

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

Fixes https://github.com/libsdl-org/SDL/issues/7895
Sam Lantinga 2 years ago
parent
commit
55c3c1b05c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video/wayland/SDL_waylandmessagebox.c

+ 1 - 1
src/video/wayland/SDL_waylandmessagebox.c

@@ -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";