From 04e5b4a710073369f82403238be74ce4f9a7172d Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 23 Jun 2008 10:37:43 +0000 Subject: [PATCH] 2008-06-23 Emmanuele Bassi Bug 984 - pango_clutter_render_layout() declared void, but returns (Haakon Sporsheim) * clutter/pango/pangoclutter-render.c: (pango_clutter_render_layout): Do not use a return statement. --- ChangeLog | 8 ++++++++ clutter/pango/pangoclutter-render.c | 9 +++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index e2b42ab0e..3e9baaa5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-06-23 Emmanuele Bassi + + Bug 984 - pango_clutter_render_layout() declared void, but + returns (Haakon Sporsheim) + + * clutter/pango/pangoclutter-render.c: + (pango_clutter_render_layout): Do not use a return statement. + 2008-06-23 Emmanuele Bassi Bug 905 - Paint cursor directly (Xan López) diff --git a/clutter/pango/pangoclutter-render.c b/clutter/pango/pangoclutter-render.c index 575b9553f..00d372e88 100644 --- a/clutter/pango/pangoclutter-render.c +++ b/clutter/pango/pangoclutter-render.c @@ -156,10 +156,11 @@ pango_clutter_render_layout (PangoLayout *layout, ClutterColor *color, int flags) { - return pango_clutter_render_layout_subpixel (layout, - x * PANGO_SCALE, - y * PANGO_SCALE, - color, flags); + pango_clutter_render_layout_subpixel (layout, + x * PANGO_SCALE, + y * PANGO_SCALE, + color, + flags); } void