]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grob-info.cc
staff-symbol-referencer: ledger logic; issue 4184
[lilypond.git] / lily / grob-info.cc
index 2103385880d800267afb5a4846ef395eaeb86d5f..419b7ff4fcf57a47d165bf20ff7e45186e2b6f79 100644 (file)
@@ -50,7 +50,7 @@ Stream_event *
 Grob_info::event_cause () const
 {
   SCM cause = grob_->get_property ("cause");
-  return unsmob_stream_event (cause);
+  return Stream_event::unsmob (cause);
 }
 
 vector<Context *>
@@ -90,11 +90,11 @@ Stream_event *
 Grob_info::ultimate_event_cause () const
 {
   SCM cause = grob_->self_scm ();
-  while (unsmob_grob (cause))
+  while (Grob::is_smob (cause))
     {
-      cause = unsmob_grob (cause)->get_property ("cause");
+      cause = Grob::unsmob (cause)->get_property ("cause");
     }
-  return unsmob_stream_event (cause);
+  return Stream_event::unsmob (cause);
 }
 
 bool