lib: No mainloop, no timeouts either

This commit is contained in:
Bastien Nocera 2018-10-11 17:21:52 +02:00
parent 700c5791f8
commit b1afa9da5d

View file

@ -163,6 +163,7 @@ fpi_timeout *fpi_timeout_add(unsigned int msec,
int r; int r;
g_return_val_if_fail (dev != NULL, NULL); g_return_val_if_fail (dev != NULL, NULL);
g_return_val_if_fail (fpi_poll_is_setup(), NULL);
fp_dbg("in %dms", msec); fp_dbg("in %dms", msec);