summaryrefslogtreecommitdiff
path: root/gtk/gtktooltip.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-03-17 19:41:26 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-05-28 20:24:39 +0000
commit9059eee2f0d56f78a5845b40a016ac22c89a0271 (patch)
tree8e87252e5753390eea672c14c34bb6aa57bbf826 /gtk/gtktooltip.c
parentc1d5e82d95a21e48e698ddbe9f0f61c5dfb969a6 (diff)
downloadgtk+-9059eee2f0d56f78a5845b40a016ac22c89a0271.tar.gz
Review and replace uses of get_toplevel
Now that roots can have parent widgets, we need to carefully examine all calls of gtk_widget_get_toplevel, and replace them with gtk_widget_get_root if we want the nearest root, and not the ultimate end of the parent chain.
Diffstat (limited to 'gtk/gtktooltip.c')
-rw-r--r--gtk/gtktooltip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c
index 619d3ace0a..0012e5039d 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 "gtknative.h"
#ifdef GDK_WINDOWING_WAYLAND
#include "wayland/gdkwayland.h"