extensions-tool: Use OpenExtensionPrefs() method

LaunchExtensionPrefs() was deprecated in commit fda938175e,
so switch to the replacement.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1097
This commit is contained in:
Florian Müllner 2020-03-10 17:47:25 +01:00
parent 7d94bfa642
commit 7f6e2ff36b

View File

@ -60,8 +60,8 @@ launch_extension_prefs (const char *uuid)
return FALSE;
g_dbus_proxy_call_sync (proxy,
"LaunchExtensionPrefs",
g_variant_new ("(s)", uuid),
"OpenExtensionPrefs",
g_variant_new ("(ssa{sv})", uuid, "", NULL),
0,
-1,
NULL,