]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stem.cc
release: 1.3.34
[lilypond.git] / lily / stem.cc
index 8258775abf4b9edd65e6831311428ee9b5f4dc58..470d324552a90dc9dedf3f54c647ff61a920fe60 100644 (file)
@@ -219,7 +219,7 @@ Stem::Stem ()
   set_elt_property ("heads", SCM_EOL);
   set_elt_property ("rests", SCM_EOL);
 
-  dim_cache_[X_AXIS]->off_callbacks_.push ( &Stem::off_callback);
+  add_offset_callback ( &Stem::off_callback, X_AXIS);
 }
 
 bool