mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
Fix a segfault in gdk_window_beep
Not a good idea to cast an instance to a class...
This commit is contained in:
parent
afcd50d607
commit
5fdc140dd8
@ -8052,7 +8052,7 @@ gdk_window_beep (GdkWindow *window)
|
||||
|
||||
if (toplevel)
|
||||
{
|
||||
if (GDK_WINDOW_IMPL_CLASS (toplevel)->beep (window))
|
||||
if (GDK_WINDOW_IMPL_GET_CLASS (toplevel->impl)->beep (window))
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user