summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2022-09-05 20:47:57 +0100
committerRichard Hughes <richard@hughsie.com>2022-09-06 09:42:16 +0100
commita436bb5aa52eed6c24857ba8db6ae618ceba0c5b (patch)
tree3a4e8e8a530e11e30047486c765fd630d731cccf
parent42d6ac28cf391aad8a156672dbf364a927d5ac44 (diff)
downloadgusb-a436bb5aa52eed6c24857ba8db6ae618ceba0c5b.tar.gz
trivial: Fix up some docgen headers
-rw-r--r--gusb/gusb-context.c2
-rw-r--r--gusb/gusb-device.c24
2 files changed, 1 insertions, 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)
{