summaryrefslogtreecommitdiff
path: root/gtk/gtktooltip.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-03-25 10:12:01 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-03-26 18:12:54 -0400
commit21580309d38d13488e2dbc7a1ccd04eb64f08d66 (patch)
tree323816dcd867689148bdc165d9c2d7de47521eba /gtk/gtktooltip.c
parentf1d61d55151eab774e6734c9ff51212a9c6cee73 (diff)
downloadgtk+-21580309d38d13488e2dbc7a1ccd04eb64f08d66.tar.gz
Rename gdk_surface_get_device_position_double
Drop the _double suffix, now that the int version is gone.
Diffstat (limited to 'gtk/gtktooltip.c')
-rw-r--r--gtk/gtktooltip.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c
index c072d46106..e5992529e2 100644
--- a/gtk/gtktooltip.c
+++ b/gtk/gtktooltip.c
@@ -634,9 +634,7 @@ gtk_tooltip_position (GtkTooltip *tooltip,
* far away from the pointer position.
*/
effective_toplevel = _gtk_widget_get_surface (toplevel);
- gdk_surface_get_device_position_double (effective_toplevel,
- device,
- &px, &py, NULL);
+ gdk_surface_get_device_position (effective_toplevel, device, &px, &py, NULL);
pointer_x = round (px);
pointer_y = round (py);
@@ -697,7 +695,7 @@ gtk_tooltip_show_tooltip (GdkDisplay *display)
device = gdk_seat_get_pointer (gdk_display_get_default_seat (display));
- gdk_surface_get_device_position_double (surface, device, &px, &py, NULL);
+ gdk_surface_get_device_position (surface, device, &px, &py, NULL);
x = round (px);
y = round (py);