summaryrefslogtreecommitdiff
path: root/src/cairo-xlib-screen.c
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 /src/cairo-xlib-screen.c
parent62346c500a7421e30b3054fdcc07fc78a18da96e (diff)
downloadcairo-9e0b716ecf1b27d74e63f25a055d8120d8d53309.tar.gz
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.
Diffstat (limited to 'src/cairo-xlib-screen.c')
-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 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;