[Aptitude-svn-commit] r3752 - in branches/aptitude-0.3/aptitude: .
src/vscreen
Daniel Burrows
dburrows at costa.debian.org
Mon Aug 8 19:17:10 UTC 2005
Author: dburrows
Date: Mon Aug 8 19:17:08 2005
New Revision: 3752
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/vscreen/vscreen_widget.cc
Log:
Don't die with an assertion failure when exiting.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Mon Aug 8 19:17:08 2005
@@ -1,5 +1,12 @@
2005-08-08 Daniel Burrows <dburrows at debian.org>
+ * src/vscreen/vscreen_widget.cc:
+
+ Only assert that we lost our window if we had an owner: owned
+ widgets are removed from their owners, which must invalidate the
+ window, but unowned widgets can be the top-level widget and
+ might still have a window when the program exits.
+
* src/solution_dialog.cc, src/solution_dialog.h:
Update the solution dialog for refcounting.
Modified: branches/aptitude-0.3/aptitude/src/vscreen/vscreen_widget.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vscreen_widget.cc (original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vscreen_widget.cc Mon Aug 8 19:17:08 2005
@@ -126,8 +126,6 @@
if(owner)
owner->rem_widget(this);
- assert(!win);
-
destroyed();
// Disconnect all signals:
More information about the Aptitude-svn-commit
mailing list