Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ZenWalker
Glade
Commits
cfef90c2
Commit
cfef90c2
authored
Oct 23, 2020
by
Juan Pablo Ugarte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "GladeWidget: fix rebuild() function"
This reverts commit
9827ed69
.
parent
9827ed69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gladeui/glade-widget.c
gladeui/glade-widget.c
+3
-3
No files found.
gladeui/glade-widget.c
View file @
cfef90c2
...
...
@@ -2552,6 +2552,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.
*/
...
...
@@ -2566,9 +2569,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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment