Fix missing includes

We're exposing symbols in our header files like `GType`, `GFile` and
others, without actually including the proper headers. This also gives
errors in the GIR scanner (who can't resolve those symbols).
This commit is contained in:
Niels De Graef 2020-05-21 16:02:55 +02:00
parent ae4abbabfd
commit 25e535b5e0
3 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#define __GIMP_H__
#include <cairo.h>
#include <glib-object.h>
#include <gegl.h>
#include <gdk-pixbuf/gdk-pixbuf.h>

View File

@ -19,7 +19,9 @@
#ifndef __GIMP_UI_H__
#define __GIMP_UI_H__
#include <gio/gio.h>
#include <gtk/gtk.h>
#include <libgimp/gimp.h>
#include <libgimpwidgets/gimpwidgets.h>

View File

@ -22,6 +22,7 @@
#ifndef __GIMP_MODULE_H__
#define __GIMP_MODULE_H__
#include <gio/gio.h>
#include <gmodule.h>
#define __GIMP_MODULE_H_INSIDE__