X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fdbus-path.c;h=cb1d4f09cb0694f4ef47bfa794bb1c9db66e0fe3;hp=6155792d0dd8f13ee45c69920157761430142051;hb=08a67ac43df4819e1820ca4e3e3f9ed9b60dce22;hpb=b284eabdc14683e4587baf43e83cedc6698a42df diff --git a/src/dbus-path.c b/src/dbus-path.c index 6155792d0..cb1d4f09c 100644 --- a/src/dbus-path.c +++ b/src/dbus-path.c @@ -41,6 +41,10 @@ BUS_INTROSPECTABLE_INTERFACE \ "\n" +#define INTERFACES_LIST \ + BUS_UNIT_INTERFACES_LIST \ + "org.freedesktop.systemd1.Path\0" + const char bus_path_interface[] _introspect_("Path") = BUS_PATH_INTERFACE; static int bus_path_append_paths(Manager *m, DBusMessageIter *i, const char *property, void *data) { @@ -94,5 +98,5 @@ DBusHandlerResult bus_path_message_handler(Unit *u, DBusConnection *c, DBusMessa { NULL, NULL, NULL, NULL, NULL } }; - return bus_default_message_handler(u->meta.manager, c, message, INTROSPECTION, properties); + return bus_default_message_handler(u->meta.manager, c, message, INTROSPECTION, INTERFACES_LIST, properties); }