device, elementfactory: relax floating requirement
Using g_assert() is a bit too extreme, as it will abort the whole program unless G_DISABLE_ASSERTS is true.
Switch to g_critical()
Using g_assert() is a bit too extreme, as it will abort the whole program unless G_DISABLE_ASSERTS is true.
Switch to g_critical()