mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Merge branch 'builder-tool-placeholder-crash' into 'master'
gtk-builder-tool: Avoid a crash with <placeholder/> Closes #3781 See merge request GNOME/gtk!3339
This commit is contained in:
commit
b539c92312
@ -944,6 +944,8 @@ rewrite_notebook_page (Element *child, Element *tab, MyParserData *data)
|
||||
object = elt;
|
||||
else if (g_str_equal (elt->element_name, "packing"))
|
||||
packing = elt;
|
||||
else if (g_str_equal (elt->element_name, "placeholder"))
|
||||
return child;
|
||||
}
|
||||
|
||||
if (!packing && !tab)
|
||||
|
Loading…
Reference in New Issue
Block a user