X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fdbus-swap.c;h=079912a5326073fe8238091c82899d8075aa05ab;hp=723cd64a8217f8cc64c0136c686d1eb9edc13b27;hb=4fe60156fc45e34c7bcba4779123e15620532dff;hpb=34df5a34e1d0ac4bba453fb5f52f18a2f5f260f9 diff --git a/src/dbus-swap.c b/src/dbus-swap.c index 723cd64a8..079912a53 100644 --- a/src/dbus-swap.c +++ b/src/dbus-swap.c @@ -47,6 +47,10 @@ BUS_INTROSPECTABLE_INTERFACE \ "\n" +#define INTERFACES_LIST \ + BUS_UNIT_INTERFACES_LIST \ + "org.freedesktop.systemd1.Swap\0" + const char bus_swap_interface[] _introspect_("Swap") = BUS_SWAP_INTERFACE; const char bus_swap_invalidating_properties[] = @@ -92,5 +96,5 @@ DBusHandlerResult bus_swap_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); }