onscreen: add constructor annotation

Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
Lionel Landwerlin 2013-09-03 22:01:50 +01:00 committed by Robert Bragg
parent 777be3895d
commit 6ed5a43b82

View File

@ -43,7 +43,7 @@ typedef struct _CoglOnscreen CoglOnscreen;
#define COGL_ONSCREEN(X) ((CoglOnscreen *)(X))
/**
* cogl_onscreen_new:
* cogl_onscreen_new: (constructor)
* @context: A #CoglContext
* @width: The desired framebuffer width
* @height: The desired framebuffer height