]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/page-marker.cc
Run grand replace for 2015.
[lilypond.git] / lily / page-marker.cc
index f2940d2b76c2ee2ab9e41c5c67470249e38787e1..1e393862e6b861b1a859602aee3b5a80e54ac927 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2007--2014 Nicolas Sceaux <nicolas.sceaux@free.fr>
+  Copyright (C) 2007--2015 Nicolas Sceaux <nicolas.sceaux@free.fr>
 
   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<Page_marker> ()
 {
   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 ("#<Page_marker>", port);
-  return 1;
-}
-
 SCM
 Page_marker::permission_symbol ()
 {