Update helloperson.cc to the new g2dcomponent()