summaryrefslogtreecommitdiff
path: root/atspi/atspi-gmain.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-gmain.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-gmain.h')
-rw-r--r--atspi/atspi-gmain.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/atspi/atspi-gmain.h b/atspi/atspi-gmain.h
index 9efbe5e5..1fc3fb47 100644
--- a/atspi/atspi-gmain.h
+++ b/atspi/atspi-gmain.h
@@ -2,7 +2,7 @@
/* atspi-gmain.h atspi dbus gmain prototypes
*
* Licensed under the Academic Free License version 2.1
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
@@ -12,7 +12,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
@@ -24,15 +24,18 @@
#ifndef _ATSPI_GMAIN_H
#define _ATSPI_GMAIN_H
+#include <dbus/dbus.h>
+#include <glib.h>
+
G_BEGIN_DECLS
void
atspi_dbus_connection_setup_with_g_main (DBusConnection *connection,
- GMainContext *context);
+ GMainContext *context);
void
-atspi_dbus_server_setup_with_g_main (DBusServer *server,
- GMainContext *context);
+atspi_dbus_server_setup_with_g_main (DBusServer *server,
+ GMainContext *context);
G_END_DECLS