diff options
author | Benjamin Otte <otte@redhat.com> | 2011-02-18 19:06:16 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-02-18 19:06:16 +0100 |
commit | ea0595c5ec125d201b159fd7128c1a86c857a0a6 (patch) | |
tree | f6c09a2c7cb134dd7608177755e68d9e1d82cfbc | |
parent | 9dcd29bef48071fcc28f5fa93d6369dfc1eed3da (diff) |
surface: Actually return a value from _cairo_surface_set_error()
This is what happens when there's too many warnings on the screen: I
don't see the important ones. Oops.
-rw-r--r-- | src/cairo-surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-surface.c b/src/cairo-surface.c index 3ba36f64..b4c9eb67 100644 --- a/src/cairo-surface.c +++ b/src/cairo-surface.c @@ -171,7 +171,7 @@ _cairo_surface_set_error (cairo_surface_t *surface, { if (status == CAIRO_STATUS_SUCCESS || status == CAIRO_INT_STATUS_NOTHING_TO_DO) - return; + return CAIRO_STATUS_SUCCESS; /* Don't overwrite an existing error. This preserves the first * error, which is the most significant. */ |