summaryrefslogtreecommitdiff
path: root/atspi/atspi-stateset.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-stateset.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-stateset.h')
-rw-r--r--atspi/atspi-stateset.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/atspi/atspi-stateset.h b/atspi/atspi-stateset.h
index e9e261ed..f00296ce 100644
--- a/atspi/atspi-stateset.h
+++ b/atspi/atspi-stateset.h
@@ -25,12 +25,12 @@
#ifndef _ATSPI_STATE_SET_H_
#define _ATSPI_STATE_SET_H_
-#define ATSPI_TYPE_STATE_SET (atspi_state_set_get_type ())
-#define ATSPI_STATE_SET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_STATE_SET, AtspiStateSet))
-#define ATSPI_STATE_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATSPI_TYPE_STATE_SET, AtspiStateSetClass))
-#define ATSPI_IS_STATE_SET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_STATE_SET))
-#define ATSPI_IS_STATE_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATSPI_TYPE_STATE_SET))
-#define ATSPI_STATE_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATSPI_TYPE_STATE_SET, AtspiStateSetClass))
+#define ATSPI_TYPE_STATE_SET (atspi_state_set_get_type ())
+#define ATSPI_STATE_SET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_STATE_SET, AtspiStateSet))
+#define ATSPI_STATE_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATSPI_TYPE_STATE_SET, AtspiStateSetClass))
+#define ATSPI_IS_STATE_SET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_STATE_SET))
+#define ATSPI_IS_STATE_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATSPI_TYPE_STATE_SET))
+#define ATSPI_STATE_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATSPI_TYPE_STATE_SET, AtspiStateSetClass))
G_BEGIN_DECLS
@@ -50,26 +50,26 @@ struct _AtspiStateSetClass
GType atspi_state_set_get_type (void);
-AtspiStateSet * atspi_state_set_new (GArray *states);
+AtspiStateSet *atspi_state_set_new (GArray *states);
void atspi_state_set_set_by_name (AtspiStateSet *set, const gchar *name, gboolean enabled);
void atspi_state_set_add (AtspiStateSet *set, AtspiStateType state);
-AtspiStateSet * atspi_state_set_compare (AtspiStateSet *set, AtspiStateSet *set2);
+AtspiStateSet *atspi_state_set_compare (AtspiStateSet *set, AtspiStateSet *set2);
gboolean atspi_state_set_contains (AtspiStateSet *set, AtspiStateType state);
gboolean atspi_state_set_equals (AtspiStateSet *set, AtspiStateSet *set2);
-GArray * atspi_state_set_get_states (AtspiStateSet *set);
+GArray *atspi_state_set_get_states (AtspiStateSet *set);
gboolean atspi_state_set_is_empty (AtspiStateSet *set);
void atspi_state_set_remove (AtspiStateSet *set, AtspiStateType state);
-AtspiStateSet * _atspi_state_set_new_internal (struct _AtspiAccessible *accessible, gint64 states);
+AtspiStateSet *_atspi_state_set_new_internal (struct _AtspiAccessible *accessible, gint64 states);
G_END_DECLS
-#endif /* _ATSPI_STATE_SET_H_ */
+#endif /* _ATSPI_STATE_SET_H_ */