summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-17 16:08:43 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-17 16:08:43 +0100
commita193afb89de3e335612e07a3fbec3e4095f14f98 (patch)
treed794f6f94dfe5506086729fe5ccd55e4f782bfa9 /src/wx
parentc13757391e75cdde7a9cef947c921b7a9ad08003 (diff)
Remove Film::make_player().
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/film_viewer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 26d81ee86..1632a45be 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -138,7 +138,7 @@ FilmViewer::set_film (shared_ptr<Film> f)
}
try {
- _player = f->make_player ();
+ _player.reset (new Player (f));
} catch (bad_alloc) {
error_dialog (this, _("There is not enough free memory to do that."));
_film.reset ();