From 83c5e963843f8cbfa5c61204c1d15efd3692551d Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 12 Sep 2022 14:03:04 +0100 Subject: trivial: Fix some docs warnings when compiling the tarball --- gusb/gusb-context.c | 4 ++-- gusb/gusb-device-event.c | 2 +- gusb/meson.build | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gusb/gusb-context.c b/gusb/gusb-context.c index 19d534f..0ca8282 100644 --- a/gusb/gusb-context.c +++ b/gusb/gusb-context.c @@ -357,7 +357,7 @@ g_usb_context_remove_device(GUsbContext *self, struct libusb_device *dev) /** * g_usb_context_load: - * @context: a #GUsbContext + * @self: a #GUsbContext * @json_object: a #JsonObject * @error: a #GError, or %NULL * @@ -403,7 +403,7 @@ g_usb_context_load(GUsbContext *self, JsonObject *json_object, GError **error) /** * g_usb_context_save: - * @context: a #GUsbContext + * @self: a #GUsbContext * @json_builder: a #JsonBuilder * @error: a #GError, or %NULL * diff --git a/gusb/gusb-device-event.c b/gusb/gusb-device-event.c index d268807..0d9eb2e 100644 --- a/gusb/gusb-device-event.c +++ b/gusb/gusb-device-event.c @@ -152,7 +152,7 @@ g_usb_device_event_get_id(GUsbDeviceEvent *self) * * Gets any status data from the event. * - * Return value: (transfer none): a `enum libusb_transfer_status`, or -1 for failure + * Return value: a `enum libusb_transfer_status`, or -1 for failure * * Since: 0.4.0 **/ diff --git a/gusb/meson.build b/gusb/meson.build index 2b3ad07..71a755b 100644 --- a/gusb/meson.build +++ b/gusb/meson.build @@ -152,6 +152,7 @@ libgusb_girtarget = gnome.generate_gir(gusb, includes : [ 'Gio-2.0', 'GObject-2.0', + 'Json-1.0', ], install : true ) @@ -194,7 +195,7 @@ endif if get_option('vapi') gnome.generate_vapi('gusb', sources: libgusb_girtarget[0], - packages: ['gio-2.0'], + packages: ['gio-2.0', 'json-glib-1.0'], install: true, ) endif -- cgit v1.2.1