[Aptitude-svn-commit] r3356 - in branches/aptitude-0.3/aptitude: . src

Daniel Burrows dburrows@costa.debian.org
Tue, 07 Jun 2005 06:03:08 +0000


Author: dburrows
Date: Tue Jun  7 06:03:05 2005
New Revision: 3356

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/pkg_item_with_subtree.h
Log:
Change the signature of paint() to match its new signature in vs_subtree.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Tue Jun  7 06:03:05 2005
@@ -1,5 +1,10 @@
 2005-06-06  Daniel Burrows  <dburrows@debian.org>
 
+	* src/pkg_item_with_subtree.h:
+
+	Change the signature of paint() to match its new signature in
+	vs_subtree.
+
 	* src/pkg_ver_item.cc, src/pkg_ver_item.h:
 
 	Adjust the attribute-selection methods to work with styles instead

Modified: branches/aptitude-0.3/aptitude/src/pkg_item_with_subtree.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/pkg_item_with_subtree.h	(original)
+++ branches/aptitude-0.3/aptitude/src/pkg_item_with_subtree.h	Tue Jun  7 06:03:05 2005
@@ -1,6 +1,6 @@
 // pkg_item_with_subtree.h   (this is -*-c++-*-)
 //
-//  Copyright 1999 Daniel Burrows
+//  Copyright 1999-2002, 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
@@ -64,7 +64,8 @@
 				      sigc::signal2<void, const pkgCache::PkgIterator &, const pkgCache::VerIterator &> *_sig,
 				      bool _expanded=false):vs_subtree<child, sorter>(_expanded), pkg_item(_package, _sig) {}
 
-  virtual void paint(vs_tree *win, int y, bool hierarchical)
+  virtual void paint(vs_tree *win, int y, bool hierarchical,
+		     const style &st)
   {
     int basex=2*get_depth();
     int width, height;