]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grob.cc
Fix crash when output-preview-framework is missing
[lilypond.git] / lily / grob.cc
index e37fc94302bba8e1c2012db54952ee0287fa5e63..a3f41a856d3a6c90a01bfb8e8dfd11354b24b3bc 100644 (file)
@@ -702,17 +702,6 @@ Grob::stencil_width (SCM smob)
   return grob_stencil_extent (me, X_AXIS);
 }
 
-Stream_event*
-Grob::event_cause ()
-{
-  SCM cause = get_property ("cause");
-  if (to_boolean (Stream_event::smob_p (cause)))
-    return unsmob_stream_event (cause);
-  else if (to_boolean (Grob::smob_p (cause)))
-    return unsmob_grob (cause)->event_cause ();
-
-  return 0;
-}
 
 Grob *
 common_refpoint_of_list (SCM elist, Grob *common, Axis a)