[atk: 4/19] Include the marshallers header, not the source



commit c2e2f1b65b4e7a1a921434a4f34f63cce09684ff
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 b3a18bd..ad083fb 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]