Replace deprecated gdk_draw_... routines with cairo equivalents.