summaryrefslogtreecommitdiff
path: root/gtk/gtktooltip.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2018-03-20 15:21:12 +0100
committerAlexander Larsson <alexl@redhat.com>2018-03-20 15:21:12 +0100
commit63e060a21de336ec49b1de02c74359842d9034c5 (patch)
tree2efb29d70bff6cb5d0a9ca6825ea8aac50566242 /gtk/gtktooltip.c
parent3dce0dcca705c4ab6d8c4f5067db93947184b6af (diff)
downloadgtk+-63e060a21de336ec49b1de02c74359842d9034c5.tar.gz
GtkWidget: Start renaming widget->window
This is an automated change doing these command: git sed -f g gtk_widget_set_has_window gtk_widget_set_has_surface git sed -f g gtk_widget_get_has_window gtk_widget_get_has_surface git sed -f g gtk_widget_set_parent_window gtk_widget_set_parent_surface git sed -f g gtk_widget_get_parent_window gtk_widget_get_parent_surface git sed -f g gtk_widget_set_window gtk_widget_set_surface git sed -f g gtk_widget_get_window gtk_widget_get_surface git sed -f g gtk_widget_register_window gtk_widget_register_surface git sed -f g gtk_widget_unregister_window gtk_widget_unregister_surface git checkout NEWS*
Diffstat (limited to 'gtk/gtktooltip.c')
-rw-r--r--gtk/gtktooltip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c
index 3fe220782a..5b325f233d 100644
--- a/gtk/gtktooltip.c
+++ b/gtk/gtktooltip.c
@@ -614,9 +614,9 @@ get_bounding_box (GtkWidget *widget,
gint x3, y3;
gint x4, y4;
- window = gtk_widget_get_parent_window (widget);
+ window = gtk_widget_get_parent_surface (widget);
if (window == NULL)
- window = gtk_widget_get_window (widget);
+ window = gtk_widget_get_surface (widget);
gtk_widget_get_allocation (widget, &allocation);
@@ -1052,7 +1052,7 @@ _gtk_tooltip_focus_in (GtkWidget *widget)
tooltip->keyboard_widget = g_object_ref (widget);
- gdk_surface_get_device_position (gtk_widget_get_window (widget),
+ gdk_surface_get_device_position (gtk_widget_get_surface (widget),
device, &x, &y, NULL);
return_value = gtk_tooltip_run_requery (&widget, tooltip, &x, &y);