From 6b7af18313840bd74d11b51f4dea80c72c8830f6 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 17 Jan 2012 14:49:28 +0000 Subject: [PATCH] renderer: fix s/contraint/constraint/ typo The recent patch to add an api for explicitly constraining how a renderer backend is chosen had a typo which this patch fixes. Reviewed-by: Neil Roberts --- cogl/cogl-renderer.c | 4 ++-- cogl/cogl-renderer.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cogl/cogl-renderer.c b/cogl/cogl-renderer.c index 281780d1f..694ea5993 100644 --- a/cogl/cogl-renderer.c +++ b/cogl/cogl-renderer.c @@ -489,8 +489,8 @@ cogl_renderer_get_n_fragment_texture_units (CoglRenderer *renderer) } void -cogl_renderer_add_contraint (CoglRenderer *renderer, - CoglRendererConstraint constraint) +cogl_renderer_add_constraint (CoglRenderer *renderer, + CoglRendererConstraint constraint) { g_return_if_fail (!renderer->connected); renderer->constraints = g_list_prepend (renderer->constraints, diff --git a/cogl/cogl-renderer.h b/cogl/cogl-renderer.h index b160738ce..06b0f5c19 100644 --- a/cogl/cogl-renderer.h +++ b/cogl/cogl-renderer.h @@ -286,7 +286,7 @@ typedef enum /** - * cogl_renderer_add_contraint: + * cogl_renderer_add_constraint: * @renderer: An unconnected #CoglRenderer * @constraint: A #CoglRendererConstraint to add * @@ -299,8 +299,8 @@ typedef enum * Stability: unstable */ void -cogl_renderer_add_contraint (CoglRenderer *renderer, - CoglRendererConstraint constraint); +cogl_renderer_add_constraint (CoglRenderer *renderer, + CoglRendererConstraint constraint); /** * cogl_renderer_remove_constraint: