summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/film_viewer.cc')
-rw-r--r--src/wx/film_viewer.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index e26423212..2496679aa 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -32,8 +32,10 @@
#include "film_viewer.h"
#include "wx_util.h"
-using namespace std;
-using namespace boost;
+using std::string;
+using std::pair;
+using std::max;
+using boost::shared_ptr;
class ThumbPanel : public wxPanel
{
@@ -304,7 +306,7 @@ FilmViewer::set_film (Film* f)
return;
}
- _film->Changed.connect (sigc::mem_fun (*this, &FilmViewer::film_changed));
+ _film->Changed.connect (bind (&FilmViewer::film_changed, this, _1));
film_changed (Film::CROP);
film_changed (Film::THUMBS);
setup_visibility ();