Include the marshallers header, not the source
authorEmmanuele Bassi <ebassi@gnome.org>
Sat, 20 May 2017 15:38:46 +0000 (16:38 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 22 May 2017 12:28:54 +0000 (13:28 +0100)
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
atk/atkutil.c

index b3a18bd..ad083fb 100644 (file)
@@ -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
index 477c1e7..4b3c68d 100644 (file)
@@ -20,7 +20,7 @@
 #include "config.h"
 
 #include "atkutil.h"
-#include "atkmarshal.c"
+#include "atkmarshal.h"
 
 /**
  * SECTION:atkutil