appdata: Use GPL-2.0-or-later for license

GPL-2.0+ is a deprecated SPDX id.

This way AdwAboutWindow can use the license field to populate
the "Legal" page of the About dialog.
See https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/2071#note_1932772
This commit is contained in:
Felipe Borges 2023-11-29 17:39:11 +01:00
parent 52638c9f46
commit 24435a6178
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
<component type="desktop">
<id>org.gnome.Settings.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<project_license>GPL-2.0-or-later</project_license>
<name>Settings</name>
<summary>Utility to configure the GNOME desktop</summary>
<description>

View file

@ -110,8 +110,8 @@ about_activated (GSimpleAction *action,
GtkWidget *about_window;
about_window = adw_about_window_new_from_appdata ("/org/gnome/Settings/appdata", VERSION);
gtk_window_set_transient_for (GTK_WINDOW (about_window), GTK_WINDOW (self->window));
gtk_window_present (GTK_WINDOW (about_window));
}