[cheese/gnome-3-0] lib: add some missing introspection annotations in cheese-camera



commit a6c793c0769189b352a7ceb511d34eb2f329c58a
Author: Lucas Rocha <lucasr gnome org>
Date:   Fri Apr 1 23:39:01 2011 +0100

    lib: add some missing introspection annotations in cheese-camera

 libcheese/cheese-camera.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index a3dc0a1..f17d4e2 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -1101,6 +1101,14 @@ cheese_camera_init (CheeseCamera *camera)
   priv->current_format          = NULL;
 }
 
+/**
+ * cheese_camera_new:
+ * @video_texture: a #ClutterTexture
+ * @camera_device_name: (allow-none): the device name
+ * @x_resolution: the resolution width
+ * @y_resolution: the resolution height
+ */
+
 CheeseCamera *
 cheese_camera_new (ClutterTexture *video_texture, char *camera_device_name,
                    int x_resolution, int y_resolution)
@@ -1164,7 +1172,7 @@ cheese_camera_set_device_by_dev_udi (CheeseCamera *camera, const gchar *udi)
 /**
  * cheese_camera_setup:
  * @camera: a #CheeseCamera
- * @id: the device id
+ * @id: (allow-none): the device id
  * @error: return location for a GError or NULL
  */
 



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