[cheese] lib: add some missing introspection annotations in cheese-camera
- From: Lucas Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] lib: add some missing introspection annotations in cheese-camera
- Date: Mon, 11 Apr 2011 20:59:05 +0000 (UTC)
commit 34434bc822786fdfc8090c2978e26a9d820b0ad9
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]