summaryrefslogtreecommitdiff
path: root/pango/pango-coverage.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-08-02 11:04:34 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2019-08-02 11:04:34 +0100
commit2bd9b3d7e44d9fc9985f46542824e378144bcb89 (patch)
tree402a91c40fdde02991046063c8cbac2490a03ada /pango/pango-coverage.h
parent006f2e2e2a85d351eee217a74a0ad2dda35dc062 (diff)
downloadpango-2bd9b3d7e44d9fc9985f46542824e378144bcb89.tar.gz
Add PangoCoverage GType getter to the public header
The `pango_coverage_get_type()` symbol is already public, but declared in a private header. Unless we move it to a public header the introspection scanner can't know that the C type maps to a GType.
Diffstat (limited to 'pango/pango-coverage.h')
-rw-r--r--pango/pango-coverage.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/pango/pango-coverage.h b/pango/pango-coverage.h
index 9189af24..7467dbda 100644
--- a/pango/pango-coverage.h
+++ b/pango/pango-coverage.h
@@ -22,7 +22,7 @@
#ifndef __PANGO_COVERAGE_H__
#define __PANGO_COVERAGE_H__
-#include <glib.h>
+#include <glib-object.h>
#include <pango/pango-version-macros.h>
#include <hb.h>
@@ -63,6 +63,9 @@ typedef enum {
} PangoCoverageLevel;
PANGO_AVAILABLE_IN_ALL
+GType pango_coverage_get_type (void) G_GNUC_CONST;
+
+PANGO_AVAILABLE_IN_ALL
PangoCoverage * pango_coverage_new (void);
PANGO_AVAILABLE_IN_ALL
PangoCoverage * pango_coverage_ref (PangoCoverage *coverage);