summaryrefslogtreecommitdiff
path: root/src/pkg_ver_item.cc
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2007-11-15 07:16:22 -0800
committerDaniel Burrows <dburrows@debian.org>2007-11-15 07:16:22 -0800
commitd4e4a5a7894f36dedf6dd2525095d2a4f98825ca (patch)
tree5bb59adb01c54146755f316318c5d7992937bef2 /src/pkg_ver_item.cc
parentaf0aea1aeb61331ba3f3624dc0806e76db206d45 (diff)
downloadaptitude-d4e4a5a7894f36dedf6dd2525095d2a4f98825ca.tar.gz
Pass over the source tree with sed to eliminate a lot of the mindless search-and-replace I was having to do. (namespace aliases and cleanup are still needed)
Diffstat (limited to 'src/pkg_ver_item.cc')
-rw-r--r--src/pkg_ver_item.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg_ver_item.cc b/src/pkg_ver_item.cc
index fb783021..402ebfe8 100644
--- a/src/pkg_ver_item.cc
+++ b/src/pkg_ver_item.cc
@@ -483,7 +483,7 @@ style pkg_ver_item::get_highlighted_style()
pkg_ver_item::pkg_ver_item(const pkgCache::VerIterator &_version, pkg_signal *_sig,
bool _show_pkg_name)
- :version(_version), version_name(transcode(version.VerStr(), "ASCII")),
+ :version(_version), version_name(cw::util::transcode(version.VerStr(), "ASCII")),
show_pkg_name(_show_pkg_name), sig(_sig)
{
highlighted_changed.connect(sigc::mem_fun(this, &pkg_ver_item::do_highlighted_changed));
@@ -525,7 +525,7 @@ style pkg_ver_item::ver_style(pkgCache::VerIterator version,
}
void pkg_ver_item::paint(widgets::tree *win, int y, bool hierarchical,
- const style &st)
+ const cw::style const style &st)
{
int basex=hierarchical?2*get_depth():0;
int width, height;
@@ -678,7 +678,7 @@ widgets::treeitem *pkg_ver_screen::setup_new_root(const pkgCache::PkgIterator &p
return newtree;
}
-bool pkg_ver_item::dispatch_key(const key &k, widgets::tree *owner)
+bool pkg_ver_item::dispatch_key(const cwi::key &k, widgets::tree *owner)
{
if(bindings->key_matches(k, "Dependencies"))
{