Replace gdk_region_new with cairo_region_new