summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/pango-coverage-private.h4
-rw-r--r--pango/pango-coverage.c6
-rw-r--r--pango/pango-coverage.h5
3 files changed, 7 insertions, 8 deletions
diff --git a/pango/pango-coverage-private.h b/pango/pango-coverage-private.h
index 806a012b..af86ab00 100644
--- a/pango/pango-coverage-private.h
+++ b/pango/pango-coverage-private.h
@@ -56,10 +56,6 @@ struct _PangoCoverageClass
PangoCoverage * (* copy) (PangoCoverage *coverage);
};
-PANGO_AVAILABLE_IN_ALL
-GType pango_coverage_get_type (void) G_GNUC_CONST;
-
-
G_END_DECLS
#endif /* __PANGO_COVERAGE_PRIVATE_H__ */
diff --git a/pango/pango-coverage.c b/pango/pango-coverage.c
index e982bd3b..5358e4e7 100644
--- a/pango/pango-coverage.c
+++ b/pango/pango-coverage.c
@@ -149,11 +149,11 @@ pango_coverage_copy (PangoCoverage *coverage)
/**
* pango_coverage_ref:
- * @coverage: a #PangoCoverage
+ * @coverage: (not nullable): a #PangoCoverage
*
* Increase the reference count on the #PangoCoverage by one
*
- * Return value: @coverage
+ * Return value: (transfer full): @coverage
**/
PangoCoverage *
pango_coverage_ref (PangoCoverage *coverage)
@@ -163,7 +163,7 @@ pango_coverage_ref (PangoCoverage *coverage)
/**
* pango_coverage_unref:
- * @coverage: a #PangoCoverage
+ * @coverage: (transfer full) (not nullable): a #PangoCoverage
*
* Decrease the reference count on the #PangoCoverage by one.
* If the result is zero, free the coverage and all associated memory.
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);