Let $f,g$ and $f\cdot g$ be a functions with $\int_{-\infty}^\infty|h(x)|dx<\infty$ for $h=f,g,fg$.
I have now given in a proof $$\int_{-\infty}^\infty\left(\int_{-\infty}^\infty f(u)g(w)\exp(-iwt)du\right)dw=\int_{-\infty}^\infty\left(\int_{-\infty}^\infty f(u)g(w)\exp(-iwt)dw\right)du$$
without saying why this equation is right.
So when is this right? In other words: When can you change the order of integration? What are the conditions? And why?
Add: I know for Lebesgue integrable functions the theorem of Fubini but above I don't have given functions in $\mathscr L^1$.