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,7 +3290,9 @@ toolbar_content_expose (ToolbarContent *content,
|
||||
{
|
||||
GtkWidget *widget;
|
||||
|
||||
if (!content->is_placeholder)
|
||||
if (content->is_placeholder)
|
||||
return;
|
||||
|
||||
widget = GTK_WIDGET (content->item);
|
||||
|
||||
if (widget)
|
||||
|
Loading…
Reference in New Issue
Block a user