[GTK] Fix the handling of resize events after r169505.