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:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user