[Aptitude-svn-commit] r3364 - in branches/aptitude-0.3/aptitude: . src
Daniel Burrows
dburrows@costa.debian.org
Tue, 07 Jun 2005 15:27:00 +0000
Author: dburrows
Date: Tue Jun 7 15:26:57 2005
New Revision: 3364
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/download_screen.h
Log:
Fix the signature of download_tree::paint.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Tue Jun 7 15:26:57 2005
@@ -1,5 +1,10 @@
2005-06-07 Daniel Burrows <dburrows@debian.org>
+ * src/download_screen.h:
+
+ Extend the signature of download_tree::paint, so that it
+ implements the virtual method as expected.
+
* src/download_list.cc:
Adjust the download list code for styles.
Modified: branches/aptitude-0.3/aptitude/src/download_screen.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/download_screen.h (original)
+++ branches/aptitude-0.3/aptitude/src/download_screen.h Tue Jun 7 15:26:57 2005
@@ -1,6 +1,6 @@
// download_screen.h (this is -*-c++-*- )
//
-// Copyright 1999 Daniel Burrows
+// Copyright 1999-2001, 2003-2005 Daniel Burrows
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -60,7 +60,7 @@
public:
download_tree():vs_subtree_generic(true) {}
- void paint(vs_tree *win, int y, bool hierarchical)
+ void paint(vs_tree *win, int y, bool hierarchical, const style &style)
{vs_subtree_generic::paint(win, y, hierarchical, "ERROR: SHOULD NOT APPEAR");}
const char * tag() const {return "download tree";}
const char * label() const {return "download tree";}