[gtk/wip/matthiasc/popup4: 57/76] tooltip: Remove an unused gdk_surface_get_root_coords call
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup4: 57/76] tooltip: Remove an unused gdk_surface_get_root_coords call
- Date: Sat, 20 Apr 2019 17:36:17 +0000 (UTC)
commit 0d0290431f3008711dd53f50ce113a084bf058c0
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Mar 24 22:41:22 2019 -0400
tooltip: Remove an unused gdk_surface_get_root_coords call
gtk/gtktooltip.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c
index 794d65c30d..ce61f6bcf5 100644
--- a/gtk/gtktooltip.c
+++ b/gtk/gtktooltip.c
@@ -689,8 +689,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))
@@ -702,7 +700,6 @@ gtk_tooltip_show_tooltip (GdkDisplay *display)
x = round (px);
y = round (py);
- gdk_surface_get_root_coords (surface, x, y, &tx, &ty);
tooltip_widget = _gtk_widget_find_at_coords (surface, x, y, &x, &y);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]