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

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


Author: dburrows
Date: Tue Jun  7 06:13:37 2005
New Revision: 3360

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/dep_item.cc
Log:
Fix the signature of pkg_depitem::paint.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Tue Jun  7 06:13:37 2005
@@ -1,5 +1,9 @@
 2005-06-06  Daniel Burrows  <dburrows@debian.org>
 
+	* src/dep_item.cc:
+
+	Fix the signature of pkg_depitem::paint().
+
 	* src/pkg_subtree.cc, src/pkg_subtree.h:
 
 	Adjust method signatures so all abstract methods are implemented.

Modified: branches/aptitude-0.3/aptitude/src/dep_item.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/dep_item.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/dep_item.cc	Tue Jun  7 06:13:37 2005
@@ -48,7 +48,8 @@
 public:
   pkg_depitem(pkgCache::DepIterator &_first, pkg_signal *_sig);
 
-  void paint(vs_tree *win, int y, bool hierarchical);
+  void paint(vs_tree *win, int y, bool hierarchical,
+	     const style &st);
 
   style get_normal_style();
 
@@ -126,7 +127,8 @@
 	  !((*apt_cache_file)[dep]&pkgDepCache::DepGInstall));
 }
 
-void pkg_depitem::paint(vs_tree *win, int y, bool hierarchical)
+void pkg_depitem::paint(vs_tree *win, int y, bool hierarchical,
+			const style &st)
 {
   if(is_broken())
     {
@@ -140,7 +142,8 @@
 				       get_name()+" ("+broken_str+")");
     }
   else
-    pkg_subtree::paint(win, y, hierarchical);
+    pkg_subtree::paint(win, y, hierarchical,
+		       st);
 }
 
 style pkg_depitem::get_normal_style()