forked from AuroraMiddleware/gtk
gtknotebook: Fix critical warnings on scroll events
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604391
This commit is contained in:
parent
6330ea9e43
commit
1af1362a36
@ -2550,7 +2550,8 @@ gtk_notebook_scroll (GtkWidget *widget,
|
||||
for (i = 0; i < 2; i++)
|
||||
{
|
||||
if (event_widget == priv->action_widget[i] ||
|
||||
gtk_widget_is_ancestor (event_widget, priv->action_widget[i]))
|
||||
(priv->action_widget[i] &&
|
||||
gtk_widget_is_ancestor (event_widget, priv->action_widget[i])))
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user