CanvasEditable: Remove an unused method.

get_parent_container_or_self() is not called by anything.
Found by Coverity Scan, which identified dead code because of
an early return, not because the whole method is not used.