diff --git a/cogl-pango/cogl-pango.h b/cogl-pango/cogl-pango.h index c4959bca0..9e3e7cce0 100644 --- a/cogl-pango/cogl-pango.h +++ b/cogl-pango/cogl-pango.h @@ -210,7 +210,7 @@ typedef struct _CoglPangoRendererClass CoglPangoRendererClass; GType cogl_pango_renderer_get_type (void) G_GNUC_CONST; /** - * cogl_pango_render_layout: + * cogl_pango_render_layout_subpixel: * @layout: a #PangoLayout * @x: X coordinate (in Pango units) to render the layout at * @y: Y coordinate (in Pango units) to render the layout at diff --git a/cogl/cogl-color.h b/cogl/cogl-color.h index c271ec786..28965059d 100644 --- a/cogl/cogl-color.h +++ b/cogl/cogl-color.h @@ -21,6 +21,13 @@ * */ +#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __COGL_COLOR_H__ +#define __COGL_COLOR_H__ + /** * SECTION:cogl-color * @short_description: A generic color definition @@ -31,13 +38,6 @@ * Since: 1.0 */ -#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION) -#error "Only can be included directly." -#endif - -#ifndef __COGL_COLOR_H__ -#define __COGL_COLOR_H__ - #include #include