mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 09:50:06 +00:00
toolbar: Don't propagate events to placeholders
In particular don't when that's done using uninitialized memory
This commit is contained in:
parent
a18ec3485c
commit
9a8c9d6579
@ -3290,8 +3290,10 @@ toolbar_content_expose (ToolbarContent *content,
|
||||
{
|
||||
GtkWidget *widget;
|
||||
|
||||
if (!content->is_placeholder)
|
||||
widget = GTK_WIDGET (content->item);
|
||||
if (content->is_placeholder)
|
||||
return;
|
||||
|
||||
widget = GTK_WIDGET (content->item);
|
||||
|
||||
if (widget)
|
||||
gtk_container_propagate_expose (container, widget, expose);
|
||||
|
Loading…
Reference in New Issue
Block a user