widget: remove duplicated code in the paint function
widget: remove duplicated code in the paint function

jonnylamb/mx,clutter-project/mx,pwithnall/mx,jonnylamb/mx,pwithnall/mx,jonnylamb/mx,pwithnall/mx,clutter-project/mx,clutter-project/mx,pwithnall/mx,clutter-project/mx,jonnylamb/mx