diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2011-01-13 17:00:57 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2011-01-13 17:03:14 +0900 |
commit | 89eb869ecfaa43dfcc9860fc6b2d174beec9ef8c (patch) | |
tree | ba5679e7625f8e6e6bc693f5cd5578c1d839c128 /gdk/gdkoffscreenwindow.c | |
parent | 290c34b2324a23e01b0957d7a1e0083c9b0f767b (diff) | |
download | gtk+-89eb869ecfaa43dfcc9860fc6b2d174beec9ef8c.tar.gz |
Avoid crashes calling gdk_window_enable_synchronized_configure() on an offscreen window.
Just added gdk_offscreen_window_do_nothing() noop stub in that slot.
Diffstat (limited to 'gdk/gdkoffscreenwindow.c')
-rw-r--r-- | gdk/gdkoffscreenwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |