[cogl/cogl-1.16] context: improve constructor annotation



commit d25b5f0314b24aff86e8a59d202e89f67e52aa93
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 20:56:12 2013 +0100

    context: improve constructor annotation
    
    Reviewed-by: Robert Bragg <robert linux intel com>

 cogl/cogl-context.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cogl/cogl-context.h b/cogl/cogl-context.h
index e574bc2..b007d2d 100644
--- a/cogl/cogl-context.h
+++ b/cogl/cogl-context.h
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]