diff options
-rw-r--r-- | gladeui/glade-widget.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gladeui/glade-widget.c b/gladeui/glade-widget.c index a93cce8c..2b5f5437 100644 --- a/gladeui/glade-widget.c +++ b/gladeui/glade-widget.c @@ -1805,6 +1805,9 @@ glade_widget_extract_children (GladeWidget *gwidget) extract_list = g_list_prepend (extract_list, extract); + /* Internal GladeWidget are no longer needed */ + glade_widget_set_object (gchild, NULL); + glade_widget_set_parent (gchild, NULL); } else if (gchild || GLADE_IS_PLACEHOLDER (child)) { |