[gimp] app: core/gimpmarshal.h is generated after building in app/config/.



commit f6cb74c0b5e199209287190a63c81e24ed0126bb
Author: Jehan <jehan girinstud io>
Date:   Tue Mar 21 18:47:39 2017 +0100

    app: core/gimpmarshal.h is generated after building in app/config/.
    
    It is a little fuzzy whether expected or not, architecturally-wise. On
    one hand, I can see some core/ header includes under config/. Though on
    the other hand, app/Makefile.am explicitly sorts config/ below core/.
    Anyway let's just use g_cclosure_marshal_VOID__VOID which is the same as
    gimp_marshal_VOID__VOID and get rid of the include.
    This fixes builds from scratch.

 app/config/gimpguiconfig.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/app/config/gimpguiconfig.c b/app/config/gimpguiconfig.c
index 2ffb732..eaac76b 100644
--- a/app/config/gimpguiconfig.c
+++ b/app/config/gimpguiconfig.c
@@ -27,8 +27,6 @@
 
 #include "config-types.h"
 
-#include "core/gimpmarshal.h"
-
 #include "gimprc-blurbs.h"
 #include "gimpguiconfig.h"
 
@@ -144,7 +142,7 @@ gimp_gui_config_class_init (GimpGuiConfigClass *klass)
                   G_SIGNAL_RUN_FIRST,
                   G_STRUCT_OFFSET (GimpGuiConfigClass, size_changed),
                   NULL, NULL,
-                  gimp_marshal_VOID__VOID,
+                  g_cclosure_marshal_VOID__VOID,
                   G_TYPE_NONE, 0);
 
   object_class->finalize     = gimp_gui_config_finalize;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]