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

Daniel Burrows dburrows at costa.debian.org
Tue Aug 9 02:45:14 UTC 2005


Author: dburrows
Date: Tue Aug  9 02:45:11 2005
New Revision: 3781

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/ui.cc
Log:
Don't redundantly delete the preview tree.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Tue Aug  9 02:45:11 2005
@@ -1,5 +1,9 @@
 2005-08-08  Daniel Burrows  <dburrows at debian.org>
 
+	* src/ui.cc:
+
+	  Don't redundantly delete the preview tree; fixes a segfault.
+
 	* src/generic/matchers.cc, doc/en/aptitude.xml:
 
 	  Add a "downgrade" action for use with ~a.

Modified: branches/aptitude-0.3/aptitude/src/ui.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/ui.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/ui.cc	Tue Aug  9 02:45:11 2005
@@ -915,7 +915,6 @@
 				       true);
 
       active_preview->destroyed.connect(sigc::ptr_fun(reset_preview));
-      active_preview_tree->destroyed.connect(sigc::mem_fun(active_preview.unsafe_get_ref(), &vscreen_widget::destroy));
       active_preview_tree->connect_key("DoInstallRun",
 				       &global_bindings,
 				       sigc::ptr_fun(actually_do_package_run));



More information about the Aptitude-svn-commit mailing list