diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-03-24 22:41:22 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-03-26 19:18:40 -0400 |
commit | 409ef8c5946ea7a2dbfcc0abff176b3f0658b472 (patch) | |
tree | 5d6425f2c3bd295f9b74160aed952275e3310de5 | |
parent | a4718e531af47b5625db67cea7850dcaf27d40e7 (diff) | |
download | gtk+-409ef8c5946ea7a2dbfcc0abff176b3f0658b472.tar.gz |
tooltip: Remove an unused gdk_surface_get_root_coords call
-rw-r--r-- | gtk/gtktooltip.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c index ee37687b68..c366957536 100644 --- a/gtk/gtktooltip.c +++ b/gtk/gtktooltip.c @@ -684,8 +684,6 @@ gtk_tooltip_show_tooltip (GdkDisplay *display) tooltip = g_object_get_qdata (G_OBJECT (display), quark_current_tooltip); { - gint tx, ty; - surface = tooltip->last_surface; if (!GDK_IS_SURFACE (surface)) @@ -695,7 +693,6 @@ gtk_tooltip_show_tooltip (GdkDisplay *display) gdk_surface_get_device_position (surface, device, &x, &y, NULL); - gdk_surface_get_root_coords (surface, x, y, &tx, &ty); tooltip_widget = _gtk_widget_find_at_coords (surface, x, y, &x, &y); } |