Fix copy/paste regression introduced in Gtk commit a269c2f8d26a