mirror of https://github.com/GNOME/gimp.git
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:
parent
ae4abbabfd
commit
25e535b5e0
|
@ -22,6 +22,7 @@
|
|||
#define __GIMP_H__
|
||||
|
||||
#include <cairo.h>
|
||||
#include <glib-object.h>
|
||||
#include <gegl.h>
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#ifndef __GIMP_MODULE_H__
|
||||
#define __GIMP_MODULE_H__
|
||||
|
||||
#include <gio/gio.h>
|
||||
#include <gmodule.h>
|
||||
|
||||
#define __GIMP_MODULE_H_INSIDE__
|
||||
|
|
Loading…
Reference in New Issue