diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-04-18 18:28:19 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-04-18 18:28:19 +0000 |
commit | 6cff7051b16d99178c5320592e96c757597835e4 (patch) | |
tree | 6aabc47ef5228d44c3a95b3a55cee06281200ac7 /ChangeLog.pre-2-0 | |
parent | 60b6a010e931aaaf97d723c893068381a421f0a0 (diff) | |
download | gtk+-6cff7051b16d99178c5320592e96c757597835e4.tar.gz |
Try changing mode on shm segments to 0600. We'll see who complains.
Wed Apr 18 14:23:14 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkimage-x11.c (gdk_image_new): Try changing
mode on shm segments to 0600. We'll see who complains.
* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Call
_gdk_windowing_window_destroy() AFTER recursing through
children.
* tests/Makefile.am (noinst_PROGRAMS): Build testsocket,
testsocket_child on X.
* tests/testsocket[_child].c: Fix uses of
gtk_window_get_default_accel_group().
[ Merge patch from Ramiro Estrugo <ramiro@eazel.com> from gtk-1-2 ]
* gdk/gdkimage.c: (gdk_image_get):
Deal with the possibility that XGetImage() might return NULL.
Allocate the GdkImagePrivate structure only after XGetImage()
succeeds in order not to dereference a NULL ximage pointer. This
prevents a core dump when XGetImage() fails - which is unlikely,
but can happen due to race conditions accessing the geometries of
drawables. An x error will still be triggered, but the gdk image
wrapper at least wont seg fault.
Diffstat (limited to 'ChangeLog.pre-2-0')
-rw-r--r-- | ChangeLog.pre-2-0 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index b984620d1e..8b6a4c3269 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,29 @@ +Wed Apr 18 14:23:14 2001 Owen Taylor <otaylor@redhat.com> + + * gdk/x11/gdkimage-x11.c (gdk_image_new): Try changing + mode on shm segments to 0600. We'll see who complains. + + * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Call + _gdk_windowing_window_destroy() AFTER recursing through + children. + + * tests/Makefile.am (noinst_PROGRAMS): Build testsocket, + testsocket_child on X. + + * tests/testsocket[_child].c: Fix uses of + gtk_window_get_default_accel_group(). + + [ Merge patch from Ramiro Estrugo <ramiro@eazel.com> from gtk-1-2 ] + + * gdk/gdkimage.c: (gdk_image_get): + Deal with the possibility that XGetImage() might return NULL. + Allocate the GdkImagePrivate structure only after XGetImage() + succeeds in order not to dereference a NULL ximage pointer. This + prevents a core dump when XGetImage() fails - which is unlikely, + but can happen due to race conditions accessing the geometries of + drawables. An x error will still be triggered, but the gdk image + wrapper at least wont seg fault. + 2001-04-18 Havoc Pennington <hp@redhat.com> * gtk/gtkimage.c: fix to properly queue resizes when the image is |