From a436bb5aa52eed6c24857ba8db6ae618ceba0c5b Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 5 Sep 2022 20:47:57 +0100 Subject: trivial: Fix up some docgen headers --- gusb/gusb-context.c | 2 +- gusb/gusb-device.c | 24 ------------------------ 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/gusb/gusb-context.c b/gusb/gusb-context.c index d32c3a4f..73b6cfd 100644 --- a/gusb/gusb-context.c +++ b/gusb/gusb-context.c @@ -361,7 +361,7 @@ g_usb_context_remove_device(GUsbContext *self, struct libusb_device *dev) * @json_object: a #JsonObject * @error: a #GError, or %NULL * - * Loads the context from a loaded JSON object. + * Loads the context from a JSON object. * * Return value: %TRUE on success * diff --git a/gusb/gusb-device.c b/gusb/gusb-device.c index 12ffd77..a75bebf 100644 --- a/gusb/gusb-device.c +++ b/gusb/gusb-device.c @@ -209,18 +209,6 @@ g_usb_device_init(GUsbDevice *self) priv->bos_descriptors = g_ptr_array_new_with_free_func((GDestroyNotify)g_object_unref); } -/** - * _g_usb_device_load: - * @device: a #GUsbDevice - * @json_object: a #JsonObject - * @error: a #GError, or %NULL - * - * Loads the device from a loaded JSON object. - * - * Return value: %TRUE on success - * - * Since: 0.4.0 - **/ gboolean _g_usb_device_load(GUsbDevice *self, JsonObject *json_object, GError **error) { @@ -294,18 +282,6 @@ _g_usb_device_load(GUsbDevice *self, JsonObject *json_object, GError **error) return TRUE; } -/** - * _g_usb_device_save: - * @device: a #GUsbDevice - * @json_builder: a #JsonBuilder - * @error: a #GError, or %NULL - * - * Saves the device to an existing JSON builder. - * - * Return value: %TRUE on success - * - * Since: 0.4.0 - **/ gboolean _g_usb_device_save(GUsbDevice *self, JsonBuilder *json_builder, GError **error) { -- cgit v1.2.1