extensions-tool: Use new Extensions proxy
While sandboxing isn't a concern for the gnome-extensions command line tool, using the Extensions proxy directly means that D-Bus methods are called from the tool rather than gnome-shell, which allows the proxy to auto-shutdown when done. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1106
This commit is contained in:
parent
c748b9de5c
commit
fb9854c003
@ -67,8 +67,8 @@ get_shell_proxy (GError **error)
|
|||||||
return g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
|
return g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
|
||||||
G_DBUS_PROXY_FLAGS_NONE,
|
G_DBUS_PROXY_FLAGS_NONE,
|
||||||
NULL,
|
NULL,
|
||||||
"org.gnome.Shell",
|
"org.gnome.Shell.Extensions",
|
||||||
"/org/gnome/Shell",
|
"/org/gnome/Shell/Extensions",
|
||||||
"org.gnome.Shell.Extensions",
|
"org.gnome.Shell.Extensions",
|
||||||
NULL,
|
NULL,
|
||||||
error);
|
error);
|
||||||
|
Loading…
Reference in New Issue
Block a user