]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/context-property.cc
Merge remote-tracking branch 'origin/translation'
[lilypond.git] / lily / context-property.cc
index c835a2fb93d2b2f6ec240a719f6ff6b3abe181fa..fa77969e1c886f1a3c6a10593655f1d9563cd127 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2004--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2004--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -242,6 +242,8 @@ apply_property_operations (Context *tg, SCM pre_init_ops)
         tg->set_property (scm_car (entry), scm_cadr (entry));
       else if (type == ly_symbol2scm ("apply"))
        scm_apply_1 (scm_car (entry), tg->self_scm (), scm_cdr (entry));
+      else if (type == ly_symbol2scm ("unset"))
+        tg->unset_property (scm_car (entry));
     }
 }