[gtk/wip/matthiasc/popup4] 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] tooltip: Stop using gtk_root_get_foc_surface
- Date: Sat, 27 Apr 2019 05:05:39 +0000 (UTC)
commit bd505f49982db30ee13a0aed135a74b29285c25e
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 ce61f6bcf5..8b66116f44 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]