Fix fprintd exiting after a device goes unused

Simple logic error that caused fprintd to exit when a device
was used then unused.
This commit is contained in:
Bastien Nocera
2008-11-26 13:55:15 +00:00
committed by Daniel Drake
parent c1ec85006e
commit c1dc3f1394

View File

@ -97,7 +97,7 @@ fprint_manager_in_use_notified (FprintDevice *rdev, GParamSpec *spec, FprintMana
g_source_remove (priv->timeout_id);
priv->timeout_id = 0;
}
if (!priv->no_timeout)
if (priv->no_timeout)
return;
for (l = priv->dev_registry; l != NULL; l = l->next) {