]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/paper-column.cc
Use Grob::warning() for error message from shift_region_to_valid().
[lilypond.git] / lily / paper-column.cc
index ac0e1fbde66b1adb2cabd745ddb90e1273d706f8..f81818ea6853d2827fee411c9a467e0ad3904d9d 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -149,6 +149,10 @@ Paper_column::is_used (Grob *me)
 
   if (to_boolean (me->get_property ("used")))
     return true;
+
+  if (scm_is_pair (me->get_property ("labels")))
+    return true;
+
   return false;
 }