[gtk/wip/carlosg/reset-after-grab: 2/3] gtkwindow: Rename function
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/carlosg/reset-after-grab: 2/3] gtkwindow: Rename function
- Date: Mon, 17 May 2021 22:18:27 +0000 (UTC)
commit 0a5d21ca9e234137ff488bbd6379330108eb218a
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon May 17 23:55:47 2021 +0200
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().
gtk/gtkwindow.c | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index add3caf85e..33e1379a25 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -6703,13 +6703,13 @@ gtk_window_get_foci_on_widget (GtkWindow *window,
}
static void
-gtk_grab_notify_foreach (GtkWidget *child,
- GdkDevice *device,
- GtkWidget *new_grab_widget,
- GtkWidget *old_grab_widget,
- gboolean from_grab,
- gboolean was_shadowed,
- gboolean is_shadowed)
+gtk_synthesize_grab_crossing (GtkWidget *child,
+ GdkDevice *device,
+ GtkWidget *new_grab_widget,
+ GtkWidget *old_grab_widget,
+ gboolean from_grab,
+ gboolean was_shadowed,
+ gboolean is_shadowed)
{
g_object_ref (child);
@@ -6767,13 +6767,13 @@ gtk_window_propagate_grab_notify (GtkWindow *window,
if (was_shadowed == is_shadowed)
break;
- gtk_grab_notify_foreach (l->data,
- device,
- old_grab_widget,
- new_grab_widget,
- from_grab,
- was_shadowed,
- is_shadowed);
+ gtk_synthesize_grab_crossing (l->data,
+ device,
+ old_grab_widget,
+ new_grab_widget,
+ from_grab,
+ was_shadowed,
+ is_shadowed);
gtk_widget_reset_controllers (l->data);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]