summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2008-12-03 19:22:10 -0800
committerDaniel Burrows <dburrows@debian.org>2008-12-03 19:22:10 -0800
commit32037a7319617f925300a4edf632e3ebc90b730b (patch)
treebff98861563df968303df48f8dae2c36058f6366 /src
parent02eea4ecd0b8415b6b7480963af5351cce3d1d74 (diff)
downloadaptitude-32037a7319617f925300a4edf632e3ebc90b730b.tar.gz
Remove some debugging code.
Diffstat (limited to 'src')
-rw-r--r--src/gtk/entityview.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gtk/entityview.cc b/src/gtk/entityview.cc
index 78aaa90f..6f6cce12 100644
--- a/src/gtk/entityview.cc
+++ b/src/gtk/entityview.cc
@@ -464,7 +464,6 @@ namespace gui
if(selected)
{
std::set<PackagesAction> actions;
- std::set<pkgCache::PkgIterator> packages;
Gtk::TreeSelection::ListHandle_Path selected_rows = selected->get_selected_rows();
for (Gtk::TreeSelection::ListHandle_Path::iterator path = selected_rows.begin();
@@ -473,16 +472,8 @@ namespace gui
Gtk::TreeModel::iterator iter = model->get_iter(*path);
cwidget::util::ref_ptr<Entity> ent = (*iter)[cols.EntObject];
ent->add_actions(actions);
- ent->add_packages(packages);
}
- std::cout << "package menu handler : ";
- for (std::set<pkgCache::PkgIterator>::iterator it = packages.begin();
- it != packages.end(); ++it)
- {
- std::cout << " " << it->Name();
- }
-
std::cout << std::endl;
if(!actions.empty())