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,7 +489,7 @@ cogl_renderer_get_n_fragment_texture_units (CoglRenderer *renderer)
}
void
cogl_renderer_add_contraint (CoglRenderer *renderer,
cogl_renderer_add_constraint (CoglRenderer *renderer,
CoglRendererConstraint constraint)
{
g_return_if_fail (!renderer->connected);

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,7 +299,7 @@ typedef enum
* Stability: unstable
*/
void
cogl_renderer_add_contraint (CoglRenderer *renderer,
cogl_renderer_add_constraint (CoglRenderer *renderer,
CoglRendererConstraint constraint);
/**