summaryrefslogtreecommitdiff
path: root/pango/pango-renderer.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-renderer.c')
-rw-r--r--pango/pango-renderer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c
index a2f6ea45..9ccb7714 100644
--- a/pango/pango-renderer.c
+++ b/pango/pango-renderer.c
@@ -1249,8 +1249,8 @@ guint16
pango_renderer_get_alpha (PangoRenderer *renderer,
PangoRenderPart part)
{
- g_return_val_if_fail (PANGO_IS_RENDERER_FAST (renderer), NULL);
- g_return_val_if_fail (IS_VALID_PART (part), NULL);
+ g_return_val_if_fail (PANGO_IS_RENDERER_FAST (renderer), 0);
+ g_return_val_if_fail (IS_VALID_PART (part), 0);
return renderer->priv->alpha[part];
}