[gegl] types: Make it self-contained



commit 4947088401edf42cd5dea8645cc37959f5ecd0c5
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Mar 20 10:58:38 2017 +0100

    types: Make it self-contained
    
    The gegl/gegl-types.h header uses GType, which is defined by
    glib-object.h. Instead of relying on some other header to pull in the
    core GObject headers, let's explicitly include it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=780083

 gegl/gegl-types.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gegl/gegl-types.h b/gegl/gegl-types.h
index 1464727..e72fdc3 100644
--- a/gegl/gegl-types.h
+++ b/gegl/gegl-types.h
@@ -20,6 +20,8 @@
 #ifndef __GEGL_TYPES_H__
 #define __GEGL_TYPES_H__
 
+#include <glib-object.h>
+
 #include "gegl-enums.h"
 
 G_BEGIN_DECLS


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