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

This commit is contained in:
Benjamin Otte
2010-09-09 00:32:40 +02:00
parent b8ebcdd0e0
commit 07d0c0b921

View File

@ -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);