Bastien Nocera wrote:
> 0001-Add-i18n-support.patch: Adds i18n support
> 0001-Clean-up-object-creation-code.patch: Clean up the object creation
> in manager.c
> 0001-Use-GObject-provided-boilerplate.patch: same thing for device.c
Applied all of them. I think you may have misunderstood one part though.
/* FIXME some or all of this should probably be moved into FprintManager
* ctor. however i'm not sure how to raise errors from a constructor...
*/
if (!discovered_devs)
return NULL;
You removed the above. I just want to point out that discovered_devs
being NULL indicates something truly went wrong somewhere (e.g. couldn't
allocate memory, couldn't enumerate USB devices, etc). It does not
indicate zero devices found.
If zero devices were found you still get a list back, it's just empty
(only has the NULL terminator).
> My plan is to add:
> 1) user (of the api) tracking
> 2) automatically exit when the daemon is unused for a while (as startup
> is very fast)
> 3) make sure the list of devices is updated when fprintd is running
Yep, I think we're in agreement on that. The 3rd item might be a little
tricky, given that libusb itself isn't very good at exposing device
additions/removals (this is planned for v1.1). We'll see how you get on
anyway :)
Thanks for your contributions!
Daniel
_______________________________________________
fprint mailing list
[email protected]
http://lists.reactivated.net/mailman/listinfo/fprint