mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Check that window_private is not NULL before using it. (#444351, David
2007-06-05 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkevents-x11.c (gdk_event_translate): Check that window_private is not NULL before using it. (#444351, David Ronis) svn path=/trunk/; revision=18043
This commit is contained in:
parent
2105398a55
commit
3047c1fcf2
@ -1,3 +1,8 @@
|
||||
2007-06-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Check that
|
||||
window_private is not NULL before using it. (#444351, David Ronis)
|
||||
|
||||
2007-06-05 Jakub Steiner <jimmac@ximian.com>
|
||||
|
||||
* gtk/stock-icons/{16,24}/gtk-find*: drop the paper sheet.
|
||||
|
@ -2102,7 +2102,7 @@ gdk_event_translate (GdkDisplay *display,
|
||||
else
|
||||
#endif
|
||||
#if defined(HAVE_XCOMPOSITE) && defined (HAVE_XDAMAGE) && defined (HAVE_XFIXES)
|
||||
if (display_x11->have_xdamage && window_private->composited &&
|
||||
if (display_x11->have_xdamage && window_private && window_private->composited &&
|
||||
xevent->type == display_x11->xdamage_event_base + XDamageNotify)
|
||||
{
|
||||
XDamageNotifyEvent *damage_event = (XDamageNotifyEvent *) xevent;
|
||||
|
Loading…
Reference in New Issue
Block a user