mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 23:28:54 +02:00
[girepository] Fix include path
We're installing the headers without the girepository/ prefix, so remove that in all internal headers to not break the out of tree scanning.
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
#define __GIBASEINFO_H__
|
#define __GIBASEINFO_H__
|
||||||
|
|
||||||
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
||||||
#error "Only <girepository/girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
#define __GIFUNCTIONINFO_H__
|
#define __GIFUNCTIONINFO_H__
|
||||||
|
|
||||||
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
||||||
#error "Only <girepository/girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <girepository/gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <girepository/gibaseinfo.h>
|
#include <girepository/gibaseinfo.h>
|
||||||
#include <girepository/girepository.h>
|
#include <girepository.h>
|
||||||
#include <girepository/gitypelib.h>
|
#include <girepository/gitypelib.h>
|
||||||
|
|
||||||
typedef struct _GIRealInfo GIRealInfo;
|
typedef struct _GIRealInfo GIRealInfo;
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
#define __GITYPELIB_H__
|
#define __GITYPELIB_H__
|
||||||
|
|
||||||
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
||||||
#error "Only <girepository/girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
#define __GITYPES_H__
|
#define __GITYPES_H__
|
||||||
|
|
||||||
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
||||||
#error "Only <girepository/girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <girepository/gibaseinfo.h>
|
#include <girepository/gibaseinfo.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user