Rename shared_path -> resources_path.
[dcpomatic.git] / src / tools / dcpomatic_playlist.cc
index b2b5c458a915b96dd263bf0882658009757f1ff1..50fed2c9402dd758aeffffc3e9540feffb51d654 100644 (file)
@@ -49,6 +49,9 @@ using boost::shared_ptr;
 using boost::weak_ptr;
 using boost::bind;
 using boost::dynamic_pointer_cast;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
 
 class ContentDialog : public wxDialog, public ContentStore
 {
@@ -274,9 +277,9 @@ public:
                tick_icon.LoadFile ("tick.png", wxBITMAP_TYPE_PNG_RESOURCE);
                no_tick_icon.LoadFile ("no_tick.png", wxBITMAP_TYPE_PNG_RESOURCE);
 #else
-               boost::filesystem::path tick_path = shared_path() / "tick.png";
+               boost::filesystem::path tick_path = resources_path() / "tick.png";
                tick_icon.LoadFile (std_to_wx(tick_path.string()), wxBITMAP_TYPE_PNG);
-               boost::filesystem::path no_tick_path = shared_path() / "no_tick.png";
+               boost::filesystem::path no_tick_path = resources_path() / "no_tick.png";
                no_tick_icon.LoadFile (std_to_wx(no_tick_path.string()), wxBITMAP_TYPE_PNG);
 #endif
                images->Add (tick_icon);