mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
feda399909
Fixes #72396. The interface org.freedesktop.DisplayManager.AccountsService should now exist. This also actually fixes #45059.
23 lines
1.0 KiB
Diff
23 lines
1.0 KiB
Diff
diff --git a/src/extensions.c b/src/extensions.c
|
|
index 038dcb2..830465d 100644
|
|
--- a/src/extensions.c
|
|
+++ b/src/extensions.c
|
|
@@ -121,16 +121,7 @@ daemon_read_extension_directory (GHashTable *ifaces,
|
|
continue;
|
|
}
|
|
|
|
- /* Ensure it looks like "../../dbus-1/interfaces/${name}" */
|
|
- const gchar * const prefix = "../../dbus-1/interfaces/";
|
|
- if (g_str_has_prefix (symlink, prefix) && g_str_equal (symlink + strlen (prefix), name)) {
|
|
- daemon_read_extension_file (ifaces, filename);
|
|
- }
|
|
- else {
|
|
- g_warning ("Found accounts service vendor extension symlink %s, but it must be exactly "
|
|
- "equal to '../../dbus-1/interfaces/%s' for forwards-compatibility reasons.",
|
|
- filename, name);
|
|
- }
|
|
+ daemon_read_extension_file (ifaces, filename);
|
|
}
|
|
|
|
g_dir_close (dir);
|