diff options
author | David King <amigadave@amigadave.com> | 2011-10-29 18:24:53 +0200 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2011-10-29 18:41:04 +0200 |
commit | 0692d3ef28c0a4fd5107c6e42de1f9ca77d119d4 (patch) | |
tree | 531c1584b1e80b2bf694b42903b4d3889a370d37 /tests/cheese-test-monitor.c | |
parent | 160a77151618211e5f11acab70e7a0f0b1056278 (diff) | |
download | cheese-0692d3ef28c0a4fd5107c6e42de1f9ca77d119d4.tar.gz |
Add basic documentation for remaining public API
Add cheese-widget-private.h back to files ignored by gtk-doc. Add basic
documentation for the remainder of the public API. Use UUID instead of
ID or UDI. Add blurb and nick to all documented properties. Add
CheeseVideoFormat documentation. Use unsigned integers where the values
are always positive. Sprinkle some const qualifiers. Add some filename
GObject Introspection annotations.
Diffstat (limited to 'tests/cheese-test-monitor.c')
-rw-r--r-- | tests/cheese-test-monitor.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/cheese-test-monitor.c b/tests/cheese-test-monitor.c index aed85e93..7153d51c 100644 --- a/tests/cheese-test-monitor.c +++ b/tests/cheese-test-monitor.c @@ -5,19 +5,19 @@ static void added_cb (CheeseCameraDeviceMonitor *monitor, - const char *id, - const char *device_file, - const char *product_name, - gint api_version) + CheeseCameraDevice *device, + gpointer user_data) { - g_message ("Added new device with ID '%s'", id); + g_message ("Added new device with ID '%s'", cheese_camera_device_get_uuid (device)); + g_object_unref (device); } static void removed_cb (CheeseCameraDeviceMonitor *monitor, - const char *id) + const gchar *uuid, + gpointer user_data) { - g_message ("Removed device with ID '%s'", id); + g_message ("Removed device with ID '%s'", uuid); } int |