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 <neil@linux.intel.com>
This commit is contained in:
Robert Bragg 2012-01-17 14:49:28 +00:00
parent 161fad2860
commit 6b7af18313
2 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -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: