]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/item.cc
(LY_DEFINE): use Scheme style naming for
[lilypond.git] / lily / item.cc
index 189d1a4da2fe2343df5e33a9ba6b1921ad30e5d6..2077c17b450e8ff779c1a3671f8bdd534af5699f 100644 (file)
@@ -42,7 +42,7 @@ Item::is_breakable (Grob*me)
     me->programming_error ("only items can be breakable.");
   
   Item * i  =dynamic_cast<Item*> (me->get_parent (X_AXIS));
-  return (i) ?  Item::is_breakable (i) : to_boolean (me->get_grob_property ("breakable"));
+  return (i) ?  Item::is_breakable (i) : to_boolean (me->get_property ("breakable"));
 }
 
 Paper_column *
@@ -152,7 +152,7 @@ Item::handle_prebroken_dependencies ()
     give the item to break-visibility itself, so the function can do
     more complicated things.
   */
-  SCM vis = get_grob_property ("break-visibility");
+  SCM vis = get_property ("break-visibility");
   if (gh_procedure_p (vis))
     {
       SCM args = scm_list_n (gh_int2scm (break_status_dir ()), SCM_UNDEFINED);
@@ -168,7 +168,7 @@ Item::handle_prebroken_dependencies ()
          set_extent (SCM_EOL, Y_AXIS);
        }
       else if (trans)
-       set_grob_property ("print-function", SCM_EOL);
+       set_property ("print-function", SCM_EOL);
     }
 }