main: Improve comments on fprint manager creation

Explain why the manager creation is async better in both in the main file
and in the manager itself
This commit is contained in:
Marco Trevisan (Treviño)
2020-02-03 20:39:44 +01:00
parent 554df2a8d9
commit 52e12459df
2 changed files with 5 additions and 3 deletions

View File

@ -174,7 +174,9 @@ fprint_manager_init (FprintManager *manager)
manager,
G_CONNECT_SWAPPED);
/* Prepare everything by enumerating all devices. */
/* Prepare everything by enumerating all devices.
* This blocks the main loop until the existing devices are enumerated
*/
fp_context_enumerate (priv->context);
dbus_g_connection_register_g_object(fprintd_dbus_conn,