Fix a segfault in gdk_window_beep

Not a good idea to cast an instance to a class...
This commit is contained in:
Matthias Clasen 2010-12-04 17:25:40 -05:00
parent afcd50d607
commit 5fdc140dd8

View File

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