From 9e0b716ecf1b27d74e63f25a055d8120d8d53309 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 6 May 2010 09:58:46 +0100 Subject: [PATCH] xlib: Remove obsolete comment, there is no race anymore The display lock is now held for the duration of the screen creation, so there is no race. Remove the false comment. --- src/cairo-xlib-screen.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/cairo-xlib-screen.c b/src/cairo-xlib-screen.c index cfecbb5bf..7f96a075d 100644 --- a/src/cairo-xlib-screen.c +++ b/src/cairo-xlib-screen.c @@ -366,10 +366,6 @@ _cairo_xlib_screen_get (Display *dpy, (XRenderFindVisualFormat (dpy, DefaultVisual (dpy, DefaultScreen (dpy))) != 0); } - /* Small window of opportunity for two screen infos for the same - * Screen - just wastes a little bit of memory but should not cause - * any corruption. - */ _cairo_xlib_display_add_screen (display, info); *out = info;