This deprecates the old method of defining seats in configuration. The xdg-seat option and the AddSeat() D-Bus method are now deprecated.
If logind is not present, only one seat will be started (seat0). If there is a use-case for non-logind multi-seat then we can look at creating something like /etc/lightdm/seats.conf as a fallback mechanism.
seat->priv->can_graphical = g_variant_get_boolean (value);
else if (strcmp (name, "CanMultiSession") == 0 && g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN))
seat->priv->can_multi_session = g_variant_get_boolean (value);
- g_variant_unref (value);
}
g_variant_iter_free (properties);
g_variant_unref (result);
NULL,
G_DBUS_SIGNAL_FLAGS_NONE,
signal_cb,
- service,
- NULL);
+ g_object_ref (service),
+ g_object_unref);
result = g_dbus_connection_call_sync (service->priv->connection,
LOGIN1_SERVICE_NAME,