summaryrefslogtreecommitdiff
path: root/atspi/atspi-registry.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-12-06 20:44:48 -0600
committerFederico Mena Quintero <federico@gnome.org>2022-12-06 20:50:13 -0600
commitb10fcf21b1ef49dd3d6297ac657434ece3b23578 (patch)
treed560f8449f3ae75fea343887dcb6d5f4df7b434c /atspi/atspi-registry.h
parentbf4d71a38b970699f63ce7b701e9bf4c9d31f717 (diff)
downloadat-spi2-core-b10fcf21b1ef49dd3d6297ac657434ece3b23578.tar.gz
Reformat all the *.[ch] files with clang-format
I ran this on each directory with C files: clang-format -i *.[ch] "-i" is the in-place option. I also adjusted the order of #includes for some files which failed to build after that: Clang-format reorders blocks of #include directives alphabetically, but they can be grouped and separated by blank lines. If there is a blank line between blocks, like #include "zork.h" #include "bar.h" #include "foo.h" then it will not put zork.h after the other two. The last two header files will be sorted alphabetically. We can adjust the formatting of chunks of code by hand with comments like these: /* clang-format off */ this code { is, formatted, by, hand; } /* clang-format on */ See https://clang.llvm.org/docs/ClangFormat.html for the general manual and https://clang.llvm.org/docs/ClangFormatStyleOptions.html for the style options and the comments described above.
Diffstat (limited to 'atspi/atspi-registry.h')
-rw-r--r--atspi/atspi-registry.h43
1 files changed, 23 insertions, 20 deletions
diff --git a/atspi/atspi-registry.h b/atspi/atspi-registry.h
index 43150c23..fea54c0c 100644
--- a/atspi/atspi-registry.h
+++ b/atspi/atspi-registry.h
@@ -4,7 +4,7 @@
*
* Copyright 2002 Ximian, Inc.
* 2002 Sun Microsystems Inc.
- *
+ *
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -26,8 +26,8 @@
#define _ATSPI_REGISTRY_H_
#include "atspi-accessible.h"
-#include "atspi-types.h"
#include "atspi-device-listener.h"
+#include "atspi-types.h"
G_BEGIN_DECLS
@@ -35,38 +35,41 @@ GType atspi_key_definition_get_type ();
gint atspi_get_desktop_count ();
-AtspiAccessible* atspi_get_desktop (gint i);
+AtspiAccessible *atspi_get_desktop (gint i);
GArray *atspi_get_desktop_list ();
gboolean
-atspi_register_keystroke_listener (AtspiDeviceListener *listener,
- GArray *key_set,
- AtspiKeyMaskType modmask,
- AtspiKeyEventMask event_types,
- AtspiKeyListenerSyncType sync_type,
- GError **error);
+atspi_register_keystroke_listener (AtspiDeviceListener *listener,
+ GArray *key_set,
+ AtspiKeyMaskType modmask,
+ AtspiKeyEventMask event_types,
+ AtspiKeyListenerSyncType sync_type,
+ GError **error);
gboolean
atspi_deregister_keystroke_listener (AtspiDeviceListener *listener,
- GArray *key_set,
- AtspiKeyMaskType modmask,
- AtspiKeyEventMask event_types,
- GError **error);
+ GArray *key_set,
+ AtspiKeyMaskType modmask,
+ AtspiKeyEventMask event_types,
+ GError **error);
gboolean
-atspi_register_device_event_listener (AtspiDeviceListener *listener,
- AtspiDeviceEventMask event_types,
- void *filter, GError **error);
+atspi_register_device_event_listener (AtspiDeviceListener *listener,
+ AtspiDeviceEventMask event_types,
+ void *filter,
+ GError **error);
gboolean
atspi_deregister_device_event_listener (AtspiDeviceListener *listener,
- void *filter, GError **error);
+ void *filter,
+ GError **error);
gboolean
atspi_generate_keyboard_event (glong keyval,
- const gchar *keystring,
- AtspiKeySynthType synth_type, GError **error);
+ const gchar *keystring,
+ AtspiKeySynthType synth_type,
+ GError **error);
gboolean
atspi_generate_mouse_event (glong x, glong y, const gchar *name, GError **error);
@@ -75,4 +78,4 @@ void
atspi_set_reference_window (AtspiAccessible *accessible);
G_END_DECLS
-#endif /* _ATSPI_REGISTRY_H_ */
+#endif /* _ATSPI_REGISTRY_H_ */