-bool
-Gregorian_ligature_engraver::try_music (Music *m)
-{
- if (m->is_mus_type ("porrectus-event"))
- {
- porrectus_req_ = m;
- return true;
- }
- else
- return Ligature_engraver::try_music (m);
-}
-
-/*
- * TODO: move this function to class Item?
- */
-void
-Gregorian_ligature_engraver::get_set_column (Item *item, Paper_column *column)
-{
- Item *parent = dynamic_cast<Item*> (item->get_parent (X_AXIS));
- if (!parent)
- {
- programming_error ("failed tweaking paper column in ligature");
- return;
- }
-
- String name = parent->name ();
- if (!String::compare (name, "PaperColumn"))
- {
- // Change column not only for targeted item (NoteColumn), but
- // also for all associated grobs (NoteSpacing, SeparationItem).
- Grob *sl = Staff_symbol_referencer::get_staff_symbol (item);
- for (SCM tail = parent->get_grob_property ("elements");
- gh_pair_p (tail);
- tail = ly_cdr (tail))
- {
- Item *sibling = unsmob_item (ly_car (tail));
- if ((sibling) &&
- (Staff_symbol_referencer::get_staff_symbol (sibling) == sl))
- {
- sibling->set_parent (column, X_AXIS);
- }
- }
- }
- else
- {
- get_set_column (parent, column);
- }
-}
-
-void fix_prefix (char *name, int mask,
- int *current_set, int min_set, int max_set,
- Grob *primitive)
+void fix_prefix (char const *name, int mask,
+ int *current_set, int min_set, int max_set,
+ Grob *primitive)