If the area you're trying to contain them in is large, then I would go with the suggestion to clip the wings.
If it's not too large, try stringing thin wire in parallel lines from fence to fence, about 2 feet apart. At my workplace, they had a problem with seagulls and pigeons on the roofs so...