summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/ui/view/view-widget.cpp2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a9639be4e..4f19d32c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2006-05-21 MenTaLguY <mental@rydia.net>
+ * src/ui/view/view-widget.cpp:
+
+ request collection pass after destruction of a view widget
+
+2006-05-21 MenTaLguY <mental@rydia.net>
+
* src/gc-core.h, src/gc.cpp:
add GC::request_early_collection() to force a collection from the idle
diff --git a/src/ui/view/view-widget.cpp b/src/ui/view/view-widget.cpp
index 6e60a9dfe..36c97af2f 100644
--- a/src/ui/view/view-widget.cpp
+++ b/src/ui/view/view-widget.cpp
@@ -84,6 +84,8 @@ static void sp_view_widget_destroy(GtkObject *object)
if (((GtkObjectClass *) (widget_parent_class))->destroy) {
(* ((GtkObjectClass *) (widget_parent_class))->destroy)(object);
}
+
+ Inkscape::GC::request_early_collection();
}
/**