fix problems with motif changes not showing up in sequencebrowser
[mussa.git] / alg / glseqbrowser.cpp
index 03afaf56c4fac3707735f9afa90752d96fea19ab..d04f6f3a199feb9cfaab21ad74996ee9d5ff24d0 100644 (file)
@@ -308,14 +308,14 @@ double GlSeqBrowser::zoom() const
   return zoom_level;
 }
 
-void GlSeqBrowser::setColorMapper(boost::shared_ptr<AnnotationColors> cm)
+void GlSeqBrowser::setColorMapper(AnnotationColorsRef cm)
 {
   color_mapper = cm;
 }
 
-const AnnotationColors& GlSeqBrowser::colorMapper()
+const AnnotationColorsRef GlSeqBrowser::colorMapper()
 {
-  return *color_mapper;
+  return color_mapper;
 }
 
 void GlSeqBrowser::clear()
@@ -362,7 +362,7 @@ void GlSeqBrowser::push_sequence(GlSequenceRef gs)
     path_segments.push_back(pair_segment_map());
 }
 
-const std::vector<boost::shared_ptr<GlSequence> >& GlSeqBrowser::sequences() const
+const std::vector<GlSequenceRef >& GlSeqBrowser::sequences() const
 {
   return track_container;
 }