[cogl] context: improve constructor annotation



commit 6c909064904503648b20d5339b1f295fac08188a
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>
    
    (cherry picked from commit d25b5f0314b24aff86e8a59d202e89f67e52aa93)

 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 d50ce32..60c92b1 100644
--- a/cogl/cogl-context.h
+++ b/cogl/cogl-context.h
@@ -90,8 +90,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]