[gtk+] Avoid crashes calling gdk_window_enable_synchronized_configure() on an offscreen window.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Avoid crashes calling gdk_window_enable_synchronized_configure() on an offscreen window.
- Date: Thu, 13 Jan 2011 07:58:42 +0000 (UTC)
commit 89eb869ecfaa43dfcc9860fc6b2d174beec9ef8c
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Thu Jan 13 17:00:57 2011 +0900
Avoid crashes calling gdk_window_enable_synchronized_configure() on an offscreen window.
Just added gdk_offscreen_window_do_nothing() noop stub in that slot.
gdk/gdkoffscreenwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c
index a4a0d41..fa1518f 100644
--- a/gdk/gdkoffscreenwindow.c
+++ b/gdk/gdkoffscreenwindow.c
@@ -779,7 +779,7 @@ gdk_offscreen_window_class_init (GdkOffscreenWindowClass *klass)
impl_class->set_functions = NULL;
impl_class->begin_resize_drag = NULL;
impl_class->begin_move_drag = NULL;
- impl_class->enable_synchronized_configure = NULL;
+ impl_class->enable_synchronized_configure = gdk_offscreen_window_do_nothing;
impl_class->configure_finished = NULL;
impl_class->set_opacity = NULL;
impl_class->set_composited = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]