pculture/miro — pull request #412 by bendk (2012-08-31 20:33:12+00:00)
Title: Update segmenter code to not use deprecated functions

Took diff from Andrea Scarpino and applied it to master.

This works on ubuntu 12.04, I think it should work on most recent OSes as well. I'm not really sure though, what do you think Geoff? If we have to, we can use conditional compilation to make it work for both versions, but I'd rather not unless we had to.