[haiku-commits] r38272 - haiku/trunk/src/apps/mediaplayer/playlist

  • From: zooey@xxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 19 Aug 2010 19:03:06 +0200 (CEST)

Author: zooey
Date: 2010-08-19 19:03:06 +0200 (Thu, 19 Aug 2010)
New Revision: 38272
Changeset: http://dev.haiku-os.org/changeset/38272

Modified:
   haiku/trunk/src/apps/mediaplayer/playlist/PlaylistListView.cpp
Log:
* fix warnings in mediaplayer

Modified: haiku/trunk/src/apps/mediaplayer/playlist/PlaylistListView.cpp
===================================================================
--- haiku/trunk/src/apps/mediaplayer/playlist/PlaylistListView.cpp      
2010-08-19 16:47:10 UTC (rev 38271)
+++ haiku/trunk/src/apps/mediaplayer/playlist/PlaylistListView.cpp      
2010-08-19 17:03:06 UTC (rev 38272)
@@ -71,6 +71,12 @@
 
        virtual void                            ItemChanged(const PlaylistItem* 
item);
 
+#if __GNUC__ == 2
+       virtual void                            Draw(BView* owner, BRect frame, 
uint32 flags);
+#else
+                       using SimpleItem::Draw;
+#endif
+
 private:
                        PlaylistItemRef         fItem;
 
@@ -219,6 +225,17 @@
 }
 
 
+#if __GNUC__ == 2
+
+void
+PlaylistListView::Item::Draw(BView* owner, BRect frame, uint32 flags)
+{
+       SimpleItem::Draw(owner, frame, flags);
+}
+
+#endif
+
+
 // #pragma mark -
 
 


Other related posts:

  • » [haiku-commits] r38272 - haiku/trunk/src/apps/mediaplayer/playlist - zooey