]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blobdiff - src/login1.c
Use logind to provide the list of seats to use.
[sojka/lightdm.git] / src / login1.c
index 991ebb08ab0dbb1eaf7839d474dcc524e61693b7..1616073bfced0844a0348cb124f89c516ba10e5e 100644 (file)
@@ -269,7 +269,6 @@ add_seat (Login1Service *service, const gchar *id, const gchar *path)
                 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);