This is part of an exercise sheet in complex analysis. It should by solvable by rather elementary methods like the main theorems of complex analysis.
I succeded to show that $g$ has only finitely many zeros by using Bolzano-Weierstraß's theorem. If you divide $g$ by all its zeros you get a holomorphic function without zeros. I now fail to show that this new function is constant.