[gtk+] testtooltips: Don't call gdk_window_get_pointer() in expose events



commit 07d0c0b92165ce65048b1272cb33f2e10af1b7f3
Author: Benjamin Otte <otte redhat com>
Date:   Thu Sep 9 00:32:40 2010 +0200

    testtooltips: Don't call gdk_window_get_pointer() in expose events

 tests/testtooltips.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/tests/testtooltips.c b/tests/testtooltips.c
index c228c23..35a7de0 100644
--- a/tests/testtooltips.c
+++ b/tests/testtooltips.c
@@ -216,8 +216,6 @@ drawing_area_expose (GtkWidget      *drawing_area,
 
   window =  gtk_widget_get_window (drawing_area);
 
-  gdk_window_get_pointer (window, NULL, NULL, NULL);
-
   cr = gdk_cairo_create (window);
 
   gtk_widget_get_allocation (drawing_area, &allocation);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]