mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-09 10:44:04 +02:00
girepository: Use subdir paths in #includes
The pkg-config file sets the include directory to the level above `girepository/`, just like with GIO, GObject and GModule. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk> Helps: #3155
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
#error "Only <girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -30,8 +30,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
#include <gitypelib.h>
|
#include <girepository/gitypelib.h>
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girepository-private.h"
|
#include "girepository-private.h"
|
||||||
#include "gitypelib-internal.h"
|
#include "gitypelib-internal.h"
|
||||||
#include "girffi.h"
|
#include "girffi.h"
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#error "Only <girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <string.h> // memcpy
|
#include <string.h> // memcpy
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girepository-private.h"
|
#include "girepository-private.h"
|
||||||
#include "gitypelib-internal.h"
|
#include "gitypelib-internal.h"
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#error "Only <girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girepository-private.h"
|
#include "girepository-private.h"
|
||||||
#include "gitypelib-internal.h"
|
#include "gitypelib-internal.h"
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#error "Only <girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girepository-private.h"
|
#include "girepository-private.h"
|
||||||
#include "gitypelib-internal.h"
|
#include "gitypelib-internal.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#error "Only <girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girepository-private.h"
|
#include "girepository-private.h"
|
||||||
#include "gitypelib-internal.h"
|
#include "gitypelib-internal.h"
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#error "Only <girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girepository-private.h"
|
#include "girepository-private.h"
|
||||||
#include "gitypelib-internal.h"
|
#include "gitypelib-internal.h"
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#error "Only <girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girffi.h"
|
#include "girffi.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girepository-private.h"
|
#include "girepository-private.h"
|
||||||
#include "gitypelib-internal.h"
|
#include "gitypelib-internal.h"
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#error "Only <girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girepository-private.h"
|
#include "girepository-private.h"
|
||||||
#include "gitypelib-internal.h"
|
#include "gitypelib-internal.h"
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#error "Only <girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girepository-private.h"
|
#include "girepository-private.h"
|
||||||
#include "gitypelib-internal.h"
|
#include "gitypelib-internal.h"
|
||||||
|
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -29,9 +29,9 @@
|
|||||||
|
|
||||||
#define __GIREPOSITORY_H_INSIDE__
|
#define __GIREPOSITORY_H_INSIDE__
|
||||||
|
|
||||||
#include <gibaseinfo.h>
|
#include <girepository/gibaseinfo.h>
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include <gitypelib.h>
|
#include <girepository/gitypelib.h>
|
||||||
|
|
||||||
typedef struct _GIRealInfo GIRealInfo;
|
typedef struct _GIRealInfo GIRealInfo;
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girepository-private.h"
|
#include "girepository-private.h"
|
||||||
#include "gitypelib-internal.h"
|
#include "gitypelib-internal.h"
|
||||||
|
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girepository-private.h"
|
#include "girepository-private.h"
|
||||||
#include "gitypelib-internal.h"
|
#include "gitypelib-internal.h"
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#error "Only <girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girepository-private.h"
|
#include "girepository-private.h"
|
||||||
#include "gitypelib-internal.h"
|
#include "gitypelib-internal.h"
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#error "Only <girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <gi-visibility.h>
|
#include <girepository/gi-visibility.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girepository-private.h"
|
#include "girepository-private.h"
|
||||||
#include "gitypelib-internal.h"
|
#include "gitypelib-internal.h"
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#error "Only <girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <girepository.h>
|
#include <girepository/girepository.h>
|
||||||
#include "girepository-private.h"
|
#include "girepository-private.h"
|
||||||
#include "gitypelib-internal.h"
|
#include "gitypelib-internal.h"
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#error "Only <girepository.h> can be included directly."
|
#error "Only <girepository.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gitypes.h>
|
#include <girepository/gitypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user