Skip to content

Commit

Permalink
Merge pull request #24976 from mbiebl/logind-fix-dbus-on_ac_power
Browse files Browse the repository at this point in the history
logind: fix getting property OnExternalPower via D-Bus
  • Loading branch information
mbiebl committed Oct 12, 2022
2 parents a063184 + 63168cb commit 63238ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/login/logind-dbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ static int property_get_scheduled_shutdown(
static BUS_DEFINE_PROPERTY_GET_ENUM(property_get_handle_action, handle_action, HandleAction);
static BUS_DEFINE_PROPERTY_GET(property_get_docked, "b", Manager, manager_is_docked_or_external_displays);
static BUS_DEFINE_PROPERTY_GET(property_get_lid_closed, "b", Manager, manager_is_lid_closed);
static BUS_DEFINE_PROPERTY_GET_GLOBAL(property_get_on_external_power, "b", manager_is_on_external_power);
static BUS_DEFINE_PROPERTY_GET_GLOBAL(property_get_on_external_power, "b", manager_is_on_external_power());
static BUS_DEFINE_PROPERTY_GET_GLOBAL(property_get_compat_user_tasks_max, "t", CGROUP_LIMIT_MAX);
static BUS_DEFINE_PROPERTY_GET_REF(property_get_hashmap_size, "t", Hashmap *, (uint64_t) hashmap_size);

Expand Down

0 comments on commit 63238ef

Please sign in to comment.