]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bar-number-engraver.cc
2003 -> 2004
[lilypond.git] / lily / bar-number-engraver.cc
index 5b6a134947db86a422ef1eb4956248714044c3e1..bfdba32328327c9171dd76579719c90e573b2c3f 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
@@ -108,8 +108,7 @@ Bar_number_engraver::create_items ()
   if (text_)
     return;
 
-  SCM b = get_property ("BarNumber");
-  text_ = new Item (b);
+  text_ = make_item ("BarNumber");
   Side_position_interface::set_axis (text_,Y_AXIS);
 
   announce_grob(text_, SCM_EOL);