[cogl/lionel/introspection: 30/76] context: improve constructor annotation



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

    context: improve constructor annotation

 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 150e850..f5f44b4 100644
--- a/cogl/cogl-context.h
+++ b/cogl/cogl-context.h
@@ -94,8 +94,8 @@ COGL_BEGIN_DECLS
 COGL_GTYPE_DECLARE_TYPE (context);
 
 /**
- * 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]