]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grace-engraver.cc
Doc: Web: introduction - added href to OOoLilypond
[lilypond.git] / lily / grace-engraver.cc
index 42b6742dbc7274d0c33c6581fdab38ebfc856561..5279cab4c0fb2ed3fa7f2dd03bc4846a84d998a0 100644 (file)
@@ -100,7 +100,7 @@ Grace_engraver::consider_change_grace_settings ()
           SCM grob = scm_cadr (elt);
           SCM cell = scm_cddr (elt);
 
-          Grob_property_info (Context::unsmob (context), grob).matched_pop (cell);
+          Grob_property_info (unsmob<Context> (context), grob).matched_pop (cell);
         }
       grace_settings_ = SCM_EOL;
     }
@@ -120,10 +120,7 @@ Grace_engraver::consider_change_grace_settings ()
           if (!scm_is_pair (sym))
             sym = scm_list_1 (sym);
 
-          Context *c = context ();
-          while (c && !c->is_alias (context_name))
-            c = c->get_parent_context ();
-
+          Context *c = find_context_above (context (), context_name);
           if (c)
             {
               SCM cell = Grob_property_info (c, grob).push (sym, val);