]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/paper-score.cc
(AncientRemoveEmptyStaffContext): switch on
[lilypond.git] / lily / paper-score.cc
index 98b734a6534da32429d9a409a45d25824c86b0f3..f84ac9218a0c51de6aa4b16a8de6926037e92851 100644 (file)
@@ -35,7 +35,6 @@ Paper_score::Paper_score (Paper_score const &s)
   assert (false);
 }
 
-
 void
 Paper_score::derived_mark () const
 {
@@ -54,7 +53,7 @@ Paper_score::typeset_system (System *system)
   systems_ = scm_cons (system->self_scm (), systems_);
   system->pscore_ = this;
 
-  scm_gc_unprotect_object (system->self_scm ());
+  system->unprotect ();
 }
 
 Array<Column_x_positions>
@@ -108,7 +107,6 @@ Paper_score::layout () const
 {
   return layout_;
 }
-  
 
 SCM
 Paper_score::get_paper_systems () const