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

Carl Worth cworth at kemper.freedesktop.org
Mon May 1 15:16:29 PDT 2006


 src/cairo-paginated-surface.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 32f120e4888fd9344f699fd47c1aea6a5ec3df8e (from df2f05876d754ecc4fbc5aee53080bdd672d0de9)
Author: Carl Worth <cworth at cworth.org>
Date:   Mon May 1 15:12:46 2006 -0700

    Don't return void from void-returning function (fix #6792).
    
    It's a dumb part of the C standard and it's even dumber when compilers are
    picky about it. But oh, well.

diff --git a/src/cairo-paginated-surface.c b/src/cairo-paginated-surface.c
index 080102b..cbb217d 100644
--- a/src/cairo-paginated-surface.c
+++ b/src/cairo-paginated-surface.c
@@ -329,7 +329,7 @@ _cairo_paginated_surface_get_font_option
 {
     cairo_paginated_surface_t *surface = abstract_surface;
 
-    return cairo_surface_get_font_options (surface->target, options);
+    cairo_surface_get_font_options (surface->target, options);
 }
 
 static cairo_int_status_t


More information about the cairo-commit mailing list