mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
app: set a specific desktop filename to fix wayland window icon
Set a specific desktop filename to fix window icon under Wayland. Closes: #13183
This commit is contained in:
parent
672703eb60
commit
95e32ebb34
3 changed files with 6 additions and 5 deletions
|
@ -544,7 +544,6 @@ main (int argc,
|
|||
GOptionContext *context;
|
||||
GError *error = NULL;
|
||||
const gchar *abort_message;
|
||||
gchar *basename;
|
||||
GFile *system_gimprc_file = NULL;
|
||||
GFile *user_gimprc_file = NULL;
|
||||
GOptionGroup *gimp_group = NULL;
|
||||
|
@ -674,9 +673,7 @@ main (int argc,
|
|||
argv = g_strdupv (argv);
|
||||
#endif
|
||||
|
||||
basename = g_path_get_basename (argv[0]);
|
||||
g_set_prgname (basename);
|
||||
g_free (basename);
|
||||
g_set_prgname (GIMP_DESKTOP_NAME);
|
||||
|
||||
/* Check argv[] for "--verbose" first */
|
||||
for (i = 1; i < argc; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue