gtkwindow: Rename function

With gtk_grab_notify_foreach() just taking care of emitting crossing
notifications due to the GTK grab change, rename it to a more apt
gtk_synthesize_grab_crossing().
This commit is contained in:
Carlos Garnacho 2021-05-17 23:55:47 +02:00
parent f003a4c6cc
commit 0a5d21ca9e

View File

@ -6703,7 +6703,7 @@ gtk_window_get_foci_on_widget (GtkWindow *window,
} }
static void static void
gtk_grab_notify_foreach (GtkWidget *child, gtk_synthesize_grab_crossing (GtkWidget *child,
GdkDevice *device, GdkDevice *device,
GtkWidget *new_grab_widget, GtkWidget *new_grab_widget,
GtkWidget *old_grab_widget, GtkWidget *old_grab_widget,
@ -6767,7 +6767,7 @@ gtk_window_propagate_grab_notify (GtkWindow *window,
if (was_shadowed == is_shadowed) if (was_shadowed == is_shadowed)
break; break;
gtk_grab_notify_foreach (l->data, gtk_synthesize_grab_crossing (l->data,
device, device,
old_grab_widget, old_grab_widget,
new_grab_widget, new_grab_widget,