logind: Use dbus_bool_t for bool types in dbus calls
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 21 Nov 2013 00:37:07 +0000 (16:37 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 21 Nov 2013 18:45:41 +0000 (10:45 -0800)
commitf86c39058aa20de2c2ca352b27b35ddd14c811e0
treeeb5745e8a3457b02e8b19717da81d17bc416911a
parent576fe2af4b3ec7b96e0c3ffcdd63b2f3ba686f8f
logind: Use dbus_bool_t for bool types in dbus calls

The gcc built-in 'bool' type is not the same size as dbus_bool_t, which is
an uint32_t.  Passing a pointer to bool where dbus expects a uint32_t *
doesn't work.

Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
src/logind-util.c