1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-04 20:07:36 +00:00

main-window: Use AdwAboutDialog

Fixes the deprecation warning and lets us use a bottom
sheet that can always be closed.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/749>
This commit is contained in:
Guido Günther 2024-08-30 11:02:54 +02:00 committed by Marge Bot
parent 7241f8bed4
commit 05dc7c24ef

View file

@ -108,7 +108,7 @@ about_action (GSimpleAction *action,
version = g_str_equal (VCS_TAG, "") ? version = g_str_equal (VCS_TAG, "") ?
PACKAGE_VERSION : PACKAGE_VERSION "-" VCS_TAG; PACKAGE_VERSION : PACKAGE_VERSION "-" VCS_TAG;
adw_show_about_window_from_appdata (GTK_WINDOW (self), adw_show_about_dialog_from_appdata (GTK_WIDGET (self),
"/org/gnome/Calls/org.gnome.Calls.metainfo.xml", "/org/gnome/Calls/org.gnome.Calls.metainfo.xml",
PACKAGE_VERSION, // must match a release in metainfo.xml PACKAGE_VERSION, // must match a release in metainfo.xml
"designers", designers, "designers", designers,