gtk: gdk_drawable_get_display() => gdk_window_get_display()
This commit is contained in:
@ -1437,7 +1437,7 @@ _gtk_tooltip_handle_event (GdkEvent *event)
|
||||
|
||||
/* Returns coordinates relative to has_tooltip_widget's allocation. */
|
||||
has_tooltip_widget = find_topmost_widget_coords_from_event (event, &x, &y);
|
||||
display = gdk_drawable_get_display (event->any.window);
|
||||
display = gdk_window_get_display (event->any.window);
|
||||
current_tooltip = g_object_get_data (G_OBJECT (display),
|
||||
"gdk-display-current-tooltip");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user