g_assert() can be compiled out if G_DISABLE_ASSERT is defined; and g_assert_*() provide more specific error messages on failure. Signed-off-by: Philip Withnall <withnall@endlessm.com>