summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/cheese-test-monitor.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/cheese-test-monitor.c b/tests/cheese-test-monitor.c
index 7db0e281..aed85e93 100644
--- a/tests/cheese-test-monitor.c
+++ b/tests/cheese-test-monitor.c
@@ -5,13 +5,12 @@
static void
added_cb (CheeseCameraDeviceMonitor *monitor,
- CheeseCameraDevice *device)
+ const char *id,
+ const char *device_file,
+ const char *product_name,
+ gint api_version)
{
- gchar *id;
-
- g_object_get (device, "device-id", &id, NULL);
g_message ("Added new device with ID '%s'", id);
- g_free (id);
}
static void