[gtk/wip/matthiasc/popup4: 138/140] tooltip: Stop using gtk_root_get_foc_surface
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup4: 138/140] tooltip: Stop using gtk_root_get_foc_surface
- Date: Mon, 29 Apr 2019 02:53:18 +0000 (UTC)
commit 479ffc4b94cd0c419acc9ad7f30d27a1a8f24f13
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Apr 27 05:03:00 2019 +0000
tooltip: Stop using gtk_root_get_foc_surface
gtk/gtktooltip.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c
index aaf7fab1f5..2057481bb1 100644
--- a/gtk/gtktooltip.c
+++ b/gtk/gtktooltip.c
@@ -35,7 +35,7 @@
#include "gtkwindowprivate.h"
#include "gtkwidgetprivate.h"
#include "gtkaccessible.h"
-#include "gtkroot.h"
+#include "gtkbud.h"
#ifdef GDK_WINDOWING_WAYLAND
#include "wayland/gdkwayland.h"
@@ -429,7 +429,7 @@ _gtk_widget_find_at_coords (GdkSurface *surface,
g_return_val_if_fail (GDK_IS_SURFACE (surface), NULL);
- event_widget = gtk_root_get_for_surface (surface);
+ event_widget = gtk_bud_get_for_surface (surface);
if (!event_widget)
return NULL;
@@ -500,7 +500,7 @@ gtk_tooltip_set_last_surface (GtkTooltip *tooltip,
(gpointer *) &tooltip->last_surface);
if (surface)
- window_widget = gtk_root_get_for_surface (surface);
+ window_widget = gtk_bud_get_for_surface (surface);
if (window_widget)
window_widget = gtk_widget_get_toplevel (window_widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]