Merge branch 'fix-issue-1366' into 'gtk-3-24'

entry: Handle no-window events in gtk_entry_event

See merge request GNOME/gtk!363
This commit is contained in:
Timm Bäder 2018-11-15 10:03:19 +00:00
commit 446cb9a217

View File

@ -4324,6 +4324,7 @@ gtk_entry_event (GtkWidget *widget,
for (i = 0; i < MAX_ICONS; i++)
{
if (priv->icons[i] &&
event->any.window != NULL &&
priv->icons[i]->window == event->any.window)
{
icon_info = priv->icons[i];