Remove no-longer used file.
[ardour.git] / libs / ardour / session_object.cc
index 3e71b6a73efe28473745a8d1baca9ffc428863f1..b15771c986928985d6d4898795e372a2a25cabf7 100644 (file)
@@ -21,6 +21,8 @@
 #include "ardour/session_object.h"
 #include "ardour/debug.h"
 
+#include "i18n.h"
+
 using namespace ARDOUR;
 using namespace PBD;
 using namespace std;
@@ -38,19 +40,3 @@ SessionObject::make_property_quarks ()
         DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for name = %1\n",       Properties::name.property_id));
 }
 
-bool
-SessionObject::set_property (const PropertyBase& prop)
-{
-       if (prop == Properties::name.property_id) {
-               std::string str = dynamic_cast<const PropertyTemplate<std::string>*>(&prop)->val();
-               if (_name != str) {
-                       DEBUG_TRACE (DEBUG::Properties, string_compose ("session object named %1 renamed %2\n",
-                                                                       _name.val(), str));
-                       _name = str;
-                       return true;
-               } 
-       }
-
-       return false;
-}
-