toolbar: Don't propagate events to placeholders

In particular don't when that's done using uninitialized memory
This commit is contained in:
Benjamin Otte 2010-09-06 16:07:44 +02:00
parent a18ec3485c
commit 9a8c9d6579

View File

@ -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)