[gtk+/gtk-3-0] Fixed gdk_window_beep() to pass the toplevel instance to the toplevel's implementation vfunc.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-0] Fixed gdk_window_beep() to pass the toplevel instance to the toplevel's implementation vfunc.
- Date: Thu, 10 Mar 2011 17:12:17 +0000 (UTC)
commit 8ee894ae46784d3067cb5c928d019ae6d5edbcf4
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Thu Mar 10 14:08:15 2011 +0900
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()).
gdk/gdkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 57a3187..e3177f0 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]