mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
plugin/default: Don't load properties when getting locale proxy
This cuts away between 7 and 40 ms from the startup of tests. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2678>
This commit is contained in:
parent
5767d2f129
commit
562024f746
@ -424,7 +424,9 @@ init_keymap (MetaDefaultPlugin *self)
|
|||||||
g_autofree char *x11_variant = NULL;
|
g_autofree char *x11_variant = NULL;
|
||||||
|
|
||||||
proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM,
|
proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM,
|
||||||
G_DBUS_PROXY_FLAGS_NONE,
|
(G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES |
|
||||||
|
G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS |
|
||||||
|
G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START),
|
||||||
NULL,
|
NULL,
|
||||||
"org.freedesktop.locale1",
|
"org.freedesktop.locale1",
|
||||||
"/org/freedesktop/locale1",
|
"/org/freedesktop/locale1",
|
||||||
|
Loading…
Reference in New Issue
Block a user