From 89eb869ecfaa43dfcc9860fc6b2d174beec9ef8c Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Thu, 13 Jan 2011 17:00:57 +0900 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c index a4a0d418a9..fa1518f0d7 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;