[atk/wip/meson: 6/8] Include the marshallers header, not the source
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atk/wip/meson: 6/8] Include the marshallers header, not the source
- Date: Mon, 22 May 2017 08:28:51 +0000 (UTC)
commit ba38fff7923e1da2f98b8f7f52b777be6751caf2
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sat May 20 16:38:46 2017 +0100
Include the marshallers header, not the source
The atkutil.c source is including atkmarshal.c, instead of including the
header. This is a weird behaviour, so let's build atkmarshal.c like the
rest of the source files, and include the header.
atk/Makefile.am | 1 +
atk/atkutil.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/atk/Makefile.am b/atk/Makefile.am
index 0d3ec27..22de312 100644
--- a/atk/Makefile.am
+++ b/atk/Makefile.am
@@ -72,6 +72,7 @@ atk_sources = \
libatk_1_0_la_SOURCES = \
$(atk_sources) \
+ atkmarshal.c \
atk-enum-types.c
libatkincludedir=$(includedir)/atk-1.0/atk
diff --git a/atk/atkutil.c b/atk/atkutil.c
index 477c1e7..4b3c68d 100644
--- a/atk/atkutil.c
+++ b/atk/atkutil.c
@@ -20,7 +20,7 @@
#include "config.h"
#include "atkutil.h"
-#include "atkmarshal.c"
+#include "atkmarshal.h"
/**
* SECTION:atkutil
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]