broken gtk/gtk2 flags use bad logic inside src_compile
try this : myconf="--enable-gtk2" use gtk2 || myconf="--enable-gtk" , that will default to gtk2, and reset it if USE="-gtk2" is set. currently it overrides gtk2 setting. BAD.
Fixed in CVS. Thanks for the bug report.