Unreviewed. Fix GTK+ build with CUSTOM_PROTOCOL enabled after r162449.