[glade/glade-3-38] Revert "GladeWidget: fix rebuild() function"
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/glade-3-38] Revert "GladeWidget: fix rebuild() function"
- Date: Fri, 23 Oct 2020 21:32:12 +0000 (UTC)
commit 8a70fd956cff7f93441dc9aeba0448986c0b797d
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Fri Oct 23 18:31:52 2020 -0300
Revert "GladeWidget: fix rebuild() function"
This reverts commit 93598cb03717a2023b32d264f62329f636ff75cc.
gladeui/glade-widget.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gladeui/glade-widget.c b/gladeui/glade-widget.c
index 0063114e..a93cce8c 100644
--- a/gladeui/glade-widget.c
+++ b/gladeui/glade-widget.c
@@ -2549,6 +2549,9 @@ glade_widget_rebuild (GladeWidget *gwidget)
g_object_ref (gwidget);
+ /* Extract and keep the child hierarchies aside... */
+ children = glade_widget_extract_children (gwidget);
+
/* Here we take care removing the widget from the project and
* the selection before rebuilding the instance.
*/
@@ -2563,9 +2566,6 @@ glade_widget_rebuild (GladeWidget *gwidget)
glade_project_remove_object (project, gwidget->priv->object);
}
- /* Extract and keep the child hierarchies aside... */
- children = glade_widget_extract_children (gwidget);
-
/* parentless_widget and object properties that refer to this widget
* should be unset before transferring */
l = g_list_copy (gwidget->priv->properties);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]