summaryrefslogtreecommitdiff
path: root/gusb/gusb-source.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2022-09-04 19:35:35 +0100
committerRichard Hughes <richard@hughsie.com>2022-09-04 22:32:55 +0100
commit91a213f7687c39f83cadb022739d09d37d392cee (patch)
treeb6637e85954baf0e522f58e17d8d1003f26b0f98 /gusb/gusb-source.c
parent36f53da169cd5ad7f690b682729f35d057353758 (diff)
downloadgusb-91a213f7687c39f83cadb022739d09d37d392cee.tar.gz
Reformat the code using clang-format
This frees up mental energy when reviewing patches and is something I should have done a long time ago.
Diffstat (limited to 'gusb/gusb-source.c')
-rw-r--r--gusb/gusb-source.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gusb/gusb-source.c b/gusb/gusb-source.c
index 4cfb826..51502e0 100644
--- a/gusb/gusb-source.c
+++ b/gusb/gusb-source.c
@@ -26,11 +26,11 @@
* Since: 0.1.0
**/
GQuark
-g_usb_source_error_quark (void)
+g_usb_source_error_quark(void)
{
static GQuark quark = 0;
if (!quark)
- quark = g_quark_from_static_string ("g_usb_source_error");
+ quark = g_quark_from_static_string("g_usb_source_error");
return quark;
}
@@ -46,10 +46,10 @@ g_usb_source_error_quark (void)
* Since: 0.1.0
**/
void
-g_usb_source_set_callback (GUsbSource *source,
- GSourceFunc func,
- gpointer data,
- GDestroyNotify notify)
+g_usb_source_set_callback(GUsbSource *source,
+ GSourceFunc func,
+ gpointer data,
+ GDestroyNotify notify)
{
- g_source_set_callback ((GSource *)source, func, data, notify);
+ g_source_set_callback((GSource *)source, func, data, notify);
}