summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-06 09:58:46 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-05-06 09:58:46 +0100
commit9e0b716ecf1b27d74e63f25a055d8120d8d53309 (patch)
tree80a732685ddc84f856289b29aea4bb2dcdadd732
parent62346c500a7421e30b3054fdcc07fc78a18da96e (diff)
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.
-rw-r--r--src/cairo-xlib-screen.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cairo-xlib-screen.c b/src/cairo-xlib-screen.c
index cfecbb5b..7f96a075 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;