mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
Fixed gdk_window_beep() to pass the toplevel instance to the toplevel's implementation vfunc.
This incorrect assignment would cause asynchronous aborts from the X server (they would occur if for instance, an offscreen GtkTreeView calls gtk_widget_error_bell()).
This commit is contained in:
parent
549c249d1a
commit
713fd43c8f
@ -7968,7 +7968,7 @@ gdk_window_beep (GdkWindow *window)
|
||||
|
||||
if (toplevel)
|
||||
{
|
||||
if (GDK_WINDOW_IMPL_GET_CLASS (toplevel->impl)->beep (window))
|
||||
if (GDK_WINDOW_IMPL_GET_CLASS (toplevel->impl)->beep (toplevel))
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user