[cairo-commit] src/cairo-xlib-surface.c

Vladimir Vukicevic vladimir at kemper.freedesktop.org
Mon Jul 17 11:35:44 PDT 2006


 src/cairo-xlib-surface.c |   10 +---------
 1 files changed, 1 insertion(+), 9 deletions(-)

New commits:
diff-tree b7191885c88068dad57d68ced69a752d1162b12c (from 84840e6bba6e72aa88fad7a0ee929e8955ba9051)
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Mon Jul 17 11:33:47 2006 -0700

    [xlib] Remove XSync implementation of surface_flush
    
    Remove the xlib implementation of surface_flush which just called XSync
    before.

diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
index 194c0cb..cac6787 100644
--- a/src/cairo-xlib-surface.c
+++ b/src/cairo-xlib-surface.c
@@ -1722,14 +1722,6 @@ _cairo_xlib_surface_get_font_options (vo
     *options = surface->screen_info->font_options;
 }
 
-static cairo_status_t
-_cairo_xlib_surface_flush (void *abstract_surface)
-{
-    cairo_xlib_surface_t *surface = abstract_surface;
-    XSync (surface->dpy, False);
-    return CAIRO_STATUS_SUCCESS;
-}
-
 static void
 _cairo_xlib_surface_scaled_font_fini (cairo_scaled_font_t *scaled_font);
 
@@ -1756,7 +1748,7 @@ static const cairo_surface_backend_t cai
     _cairo_xlib_surface_get_extents,
     NULL, /* old_show_glyphs */
     _cairo_xlib_surface_get_font_options,
-    _cairo_xlib_surface_flush,
+    NULL, /* flush */
     NULL, /* mark_dirty_rectangle */
     _cairo_xlib_surface_scaled_font_fini,
     _cairo_xlib_surface_scaled_glyph_fini,


More information about the cairo-commit mailing list