Change color using cairo instead of deprecated gdk functions