[goffice] Introspection fixes.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Introspection fixes.
- Date: Tue, 15 Apr 2014 13:07:26 +0000 (UTC)
commit 34eaec5a3134c7bb191d36784a50447f848f83f6
Author: Morten Welinder <terra gnome org>
Date: Tue Apr 15 09:06:23 2014 -0400
Introspection fixes.
goffice/graph/gog-axis.c | 2 +-
goffice/graph/gog-object.c | 6 +++---
goffice/graph/gog-series.c | 4 ++--
goffice/utils/go-font.c | 2 +-
goffice/utils/go-style.c | 4 ++--
5 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/goffice/graph/gog-axis.c b/goffice/graph/gog-axis.c
index 5fad2ca..226007f 100644
--- a/goffice/graph/gog-axis.c
+++ b/goffice/graph/gog-axis.c
@@ -2131,7 +2131,7 @@ role_label_can_add (GogObject const *parent)
/**
* gog_axis_set_format:
* @axis: #GogAxis
- * @fmt: #GOFormat
+ * @fmt: (transfer full): #GOFormat
*
* Absorbs a reference to @fmt, and accepts NULL.
*
diff --git a/goffice/graph/gog-object.c b/goffice/graph/gog-object.c
index c98a485..0c9aaa2 100644
--- a/goffice/graph/gog-object.c
+++ b/goffice/graph/gog-object.c
@@ -1219,7 +1219,7 @@ gog_object_get_name (GogObject const *obj)
/**
* gog_object_set_name:
* @obj: #GogObject
- * @name: The new name for @obj
+ * @name: (transfer full): The new name for @obj
* @err: #GError
*
* Assign the new name and signals that it has changed.
@@ -1695,7 +1695,7 @@ gog_object_clear_parent (GogObject *obj)
/**
* gog_object_set_parent:
- * @child: #GogObject.
+ * @child: (transfer full): #GogObject.
* @parent: #GogObject.
* @id: optionally %NULL.
* @role: a static string that can be sent to @parent::add
@@ -1746,7 +1746,7 @@ gog_object_set_parent (GogObject *child, GogObject *parent,
* gog_object_add_by_role:
* @parent: #GogObject
* @role: #GogObjectRole
- * @child: #GogObject
+ * @child: (transfer full) (allow-none): #GogObject
*
* Absorb a ref to @child if it is non-NULL.
* Returns: (transfer none): @child or a newly created object with @role. Callers do _not_ own
diff --git a/goffice/graph/gog-series.c b/goffice/graph/gog-series.c
index 9abbfe2..7569d2f 100644
--- a/goffice/graph/gog-series.c
+++ b/goffice/graph/gog-series.c
@@ -1097,7 +1097,7 @@ gog_series_get_name (GogSeries const *series)
/**
* gog_series_set_name:
* @series: a #GogSeries
- * @name_src: a #GODataScalar
+ * @name_src: (transfer full): a #GODataScalar
* @err: a #GError
*
* Absorbs a ref to @name_src.
@@ -1113,7 +1113,7 @@ gog_series_set_name (GogSeries *series, GODataScalar *name_src, GError **err)
* gog_series_set_dim:
* @series: #GogSeries
* @dim_i: Which dimension
- * @val: #GOData
+ * @val: (transfer full): #GOData
* @err: optional #GError pointer
*
* Absorbs a ref to @val
diff --git a/goffice/utils/go-font.c b/goffice/utils/go-font.c
index ea51f76..7c61605 100644
--- a/goffice/utils/go-font.c
+++ b/goffice/utils/go-font.c
@@ -65,7 +65,7 @@ go_font_free (GOFont *font)
/**
* go_font_new_by_desc:
- * @desc: #PangoFontDescription
+ * @desc: (transfer full): #PangoFontDescription
*
* NOTE : Absorbs @desc.
* Returns: a ref to a font that matches @desc.
diff --git a/goffice/utils/go-style.c b/goffice/utils/go-style.c
index 854b7c4..47adac7 100644
--- a/goffice/utils/go-style.c
+++ b/goffice/utils/go-style.c
@@ -1847,7 +1847,7 @@ go_style_force_auto (GOStyle *style)
* Sets all auto fields in @style to %FALSE.
**/
void
-go_style_clear_auto (GOStyle *style)
+go_style_clear_auto (GOStyle *style)
{
g_return_if_fail (GO_IS_STYLE (style));
@@ -1886,7 +1886,7 @@ go_style_is_auto (GOStyle *style)
/**
* go_style_set_marker:
* @style: #GOStyle
- * @marker: #GOMarker
+ * @marker: (transfer full): #GOMarker
*
* Absorb a reference to @marker and assign it to @style.
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]