From 91a213f7687c39f83cadb022739d09d37d392cee Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Sun, 4 Sep 2022 19:35:35 +0100 Subject: 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. --- gusb/gusb-source.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'gusb/gusb-source.h') diff --git a/gusb/gusb-source.h b/gusb/gusb-source.h index 2c2b8bb..a6a7a81 100644 --- a/gusb/gusb-source.h +++ b/gusb/gusb-source.h @@ -12,7 +12,7 @@ G_BEGIN_DECLS -#define G_USB_SOURCE_ERROR (g_usb_source_error_quark ()) +#define G_USB_SOURCE_ERROR (g_usb_source_error_quark()) typedef struct _GUsbSource GUsbSource; @@ -21,17 +21,17 @@ typedef struct _GUsbSource GUsbSource; * * The error code. **/ -typedef enum { - G_USB_SOURCE_ERROR_INTERNAL -} GUsbSourceError; +typedef enum { G_USB_SOURCE_ERROR_INTERNAL } GUsbSourceError; G_DEPRECATED_FOR(g_usb_context_error_quark) -GQuark g_usb_source_error_quark (void); +GQuark +g_usb_source_error_quark(void); G_DEPRECATED -void g_usb_source_set_callback (GUsbSource *source, - GSourceFunc func, - gpointer data, - GDestroyNotify notify); +void +g_usb_source_set_callback(GUsbSource *source, + GSourceFunc func, + gpointer data, + GDestroyNotify notify); G_END_DECLS -- cgit v1.2.1