mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 07:04:29 +00:00
One more optimization
This commit is contained in:
parent
12704a67bc
commit
4af02533bf
@ -1524,7 +1524,7 @@ gtk_grab_notify_foreach (GtkWidget *child,
|
||||
if (was_shadowed != is_shadowed)
|
||||
_gtk_widget_grab_notify (child, was_shadowed);
|
||||
|
||||
if (GTK_IS_CONTAINER (child))
|
||||
if ((was_shadowed || is_shadowed) && GTK_IS_CONTAINER (child))
|
||||
gtk_container_foreach (GTK_CONTAINER (child), gtk_grab_notify_foreach, info);
|
||||
|
||||
g_object_unref (child);
|
||||
|
Loading…
Reference in New Issue
Block a user