context: improve constructor annotation

Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
Lionel Landwerlin 2013-09-03 20:56:12 +01:00 committed by Robert Bragg
parent 9d2fc82077
commit d25b5f0314

View File

@ -92,8 +92,8 @@ COGL_BEGIN_DECLS
#define COGL_CONTEXT(OBJECT) ((CoglContext *)OBJECT)
/**
* cogl_context_new:
* @display: A #CoglDisplay pointer
* cogl_context_new: (constructor)
* @display: (allow-none): A #CoglDisplay pointer
* @error: A CoglError return location.
*
* Creates a new #CoglContext which acts as an application sandbox