context: improve constructor annotation
Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
parent
9d2fc82077
commit
d25b5f0314
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user