mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
fixed a segfault that showed up when using the color picker.
2002-01-29 Sven Neumann <sven@gimp.org> * gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): fixed a segfault that showed up when using the color picker.
This commit is contained in:
parent
c8a1ae5bce
commit
2c0e16e403
@ -1,3 +1,8 @@
|
||||
2002-01-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): fixed a segfault
|
||||
that showed up when using the color picker.
|
||||
|
||||
Tue Jan 29 11:51:14 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscale.[hc]: fix default value for ::digits property,
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-01-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): fixed a segfault
|
||||
that showed up when using the color picker.
|
||||
|
||||
Tue Jan 29 11:51:14 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscale.[hc]: fix default value for ::digits property,
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-01-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): fixed a segfault
|
||||
that showed up when using the color picker.
|
||||
|
||||
Tue Jan 29 11:51:14 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscale.[hc]: fix default value for ::digits property,
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-01-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): fixed a segfault
|
||||
that showed up when using the color picker.
|
||||
|
||||
Tue Jan 29 11:51:14 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscale.[hc]: fix default value for ::digits property,
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-01-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): fixed a segfault
|
||||
that showed up when using the color picker.
|
||||
|
||||
Tue Jan 29 11:51:14 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscale.[hc]: fix default value for ::digits property,
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-01-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): fixed a segfault
|
||||
that showed up when using the color picker.
|
||||
|
||||
Tue Jan 29 11:51:14 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscale.[hc]: fix default value for ::digits property,
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-01-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): fixed a segfault
|
||||
that showed up when using the color picker.
|
||||
|
||||
Tue Jan 29 11:51:14 2002 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkscale.[hc]: fix default value for ::digits property,
|
||||
|
@ -584,8 +584,6 @@ _gdk_x11_copy_to_image (GdkDrawable *drawable,
|
||||
if (!gdk_rectangle_intersect (&req, &window_rect, &req))
|
||||
goto out;
|
||||
|
||||
private = PRIVATE_DATA (image);
|
||||
|
||||
gdk_error_trap_push ();
|
||||
|
||||
if (!image &&
|
||||
@ -606,6 +604,8 @@ _gdk_x11_copy_to_image (GdkDrawable *drawable,
|
||||
created_image = TRUE;
|
||||
}
|
||||
|
||||
private = PRIVATE_DATA (image);
|
||||
|
||||
/* In the ShmImage but no ShmPixmap case, we could use XShmGetImage when
|
||||
* we are getting the entire image.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user