dbusServices: Always import dbus errors

This makes sure custom errors are registered correctly, even when
the service doesn't do anything other than passing them on.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3159>
This commit is contained in:
Florian Müllner
2024-01-31 16:36:55 +01:00
parent ca0ee2ae90
commit 9e96e8495b
5 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,8 @@ import GLib from 'gi://GLib';
import {programArgs} from 'system';
import './misc/dbusErrors.js';
const Signals = imports.signals;
const IDLE_SHUTDOWN_TIME = 2; // s