X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpage-marker.cc;h=1e393862e6b861b1a859602aee3b5a80e54ac927;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=f2940d2b76c2ee2ab9e41c5c67470249e38787e1;hpb=00b9619cea1020f6773f23df8764ef85ee2912bf;p=lilypond.git diff --git a/lily/page-marker.cc b/lily/page-marker.cc index f2940d2b76..1e393862e6 100644 --- a/lily/page-marker.cc +++ b/lily/page-marker.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2007--2014 Nicolas Sceaux + Copyright (C) 2007--2015 Nicolas Sceaux LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ Page_marker::Page_marker () } Page_marker::Page_marker (Page_marker const &src) + : Smob () { symbol_ = src.symbol_; permission_ = src.permission_; @@ -50,15 +51,6 @@ Page_marker::mark_smob () return SCM_EOL; } -int -Page_marker::print_smob (SCM smob, SCM port, scm_print_state *) -{ - Page_marker *pm = (Page_marker *) SCM_CELL_WORD_1 (smob); - (void) pm; - scm_puts ("#", port); - return 1; -} - SCM Page_marker::permission_symbol () {