[at-spi2-atk] Use a consistent include for config.h
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] Use a consistent include for config.h
- Date: Thu, 17 May 2018 14:04:42 +0000 (UTC)
commit ddcecf6fa38b409e126025b2c2b5b48808ae035e
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Apr 27 12:02:47 2018 +0100
Use a consistent include for config.h
We should always use `#include "config.h"`, as the header is local to
the project, not part of the system include paths.
atk-adaptor/accessible-stateset.c | 6 ++++--
atk-adaptor/adaptors/streamablecontent-adaptor.c | 7 ++++---
2 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/atk-adaptor/accessible-stateset.c b/atk-adaptor/accessible-stateset.c
index 82820de..dc3d6ad 100644
--- a/atk-adaptor/accessible-stateset.c
+++ b/atk-adaptor/accessible-stateset.c
@@ -23,11 +23,13 @@
/* stateset.c : implements the StateSet interface */
-#include <config.h>
-#include <stdio.h>
+#include "config.h"
+
#include "accessible-stateset.h"
#include "bitarray.h"
+#include <stdio.h>
+
static AtspiStateType *accessible_state_types = NULL;
static AtkStateType *atk_state_types = NULL;
diff --git a/atk-adaptor/adaptors/streamablecontent-adaptor.c
b/atk-adaptor/adaptors/streamablecontent-adaptor.c
index 8192e1a..bcb17df 100644
--- a/atk-adaptor/adaptors/streamablecontent-adaptor.c
+++ b/atk-adaptor/adaptors/streamablecontent-adaptor.c
@@ -22,13 +22,14 @@
/* streamablecontent.c : implements the StreamableContent interface */
-#include <config.h>
-#include <stdio.h>
-#include <string.h>
+#include "config.h"
#include <libspi/component.h>
#include <libspi/streamablecontent.h>
+#include <stdio.h>
+#include <string.h>
+
/* Our parent Gtk object type */
#define PARENT_TYPE SPI_TYPE_BASE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]