[Aptitude-svn-commit] r3772 - in branches/aptitude-0.3/aptitude: .
src
Daniel Burrows
dburrows at costa.debian.org
Tue Aug 9 00:37:55 UTC 2005
Author: dburrows
Date: Tue Aug 9 00:37:53 2005
New Revision: 3772
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/view_changelog.cc
Log:
Update the changelog viewer for refcounting.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Tue Aug 9 00:37:53 2005
@@ -1,5 +1,9 @@
2005-08-08 Daniel Burrows <dburrows at debian.org>
+ * src/view_changelog.cc:
+
+ Update the changelog viewer for refcounting.
+
* src/vscreen/vs_pager.h:
Restore the default value for the "encoding" argument of the
Modified: branches/aptitude-0.3/aptitude/src/view_changelog.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/view_changelog.cc (original)
+++ branches/aptitude-0.3/aptitude/src/view_changelog.cc Tue Aug 9 00:37:53 2005
@@ -69,12 +69,17 @@
public:
static ref_ptr<pkg_changelog_screen>
- create(pkg_changelog *_cl,
- int x=0, int y=0, int width=0, int height=0):
+ create(pkg_changelog *cl,
+ int x=0, int y=0, int width=0, int height=0)
+ {
+ return new pkg_changelog_screen(cl, x, y, width, height);
+ }
virtual ~pkg_changelog_screen() {delete cl;}
};
+typedef ref_ptr<pkg_changelog_screen> pkg_changelog_screen_ref;
+
void view_changelog(pkgCache::VerIterator ver)
{
bool in_debian=false;
More information about the Aptitude-svn-commit
mailing list