[gnumeric] Introspection fixes
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Introspection fixes
- Date: Thu, 19 Apr 2018 01:41:58 +0000 (UTC)
commit 5d1dce8f608699ef4f4589e7a0a193d0fcfa4e7a
Author: Morten Welinder <terra gnome org>
Date: Wed Apr 18 21:41:32 2018 -0400
Introspection fixes
src/gnumeric-conf.c | 29 +++++++++++++++++++++++++++++
src/hlink.c | 3 +++
src/sheet-object.c | 3 +++
3 files changed, 35 insertions(+), 0 deletions(-)
---
diff --git a/src/gnumeric-conf.c b/src/gnumeric-conf.c
index 10002f0..465d8ed 100644
--- a/src/gnumeric-conf.c
+++ b/src/gnumeric-conf.c
@@ -106,6 +106,11 @@ free_watcher (struct cb_watch_generic *watcher)
/* ---------------------------------------- */
+/**
+ * gnm_conf_get_root:
+ *
+ * Returns: (transfer none): the root config node.
+ */
GOConfNode *
gnm_conf_get_root (void)
{
@@ -132,6 +137,12 @@ get_watch_node (gpointer watch_)
return get_node (watch->key, watch);
}
+/**
+ * gnm_conf_get_short_desc:
+ * @node: #GOConfNode
+ *
+ * Returns: (transfer none) (nullable): a brief description of @node.
+ */
char const *
gnm_conf_get_short_desc (GOConfNode *node)
{
@@ -141,6 +152,12 @@ gnm_conf_get_short_desc (GOConfNode *node)
return desc ? _(desc) : NULL;
}
+/**
+ * gnm_conf_get_long_desc:
+ * @node: #GOConfNode
+ *
+ * Returns: (transfer none) (nullable): a description of @node.
+ */
char const *
gnm_conf_get_long_desc (GOConfNode *node)
{
@@ -442,6 +459,9 @@ cb_free_string_list (GSList *l)
g_slist_free_full (l, g_free);
}
+/**
+ * gnm_conf_init: (skip)
+ */
void
gnm_conf_init (void)
{
@@ -466,6 +486,9 @@ gnm_conf_init (void)
g_hash_table_insert (node_pool, (gpointer)"/", root);
}
+/**
+ * gnm_conf_shutdown: (skip)
+ */
void
gnm_conf_shutdown (void)
{
@@ -555,6 +578,12 @@ gnm_conf_set_page_setup (GtkPageSetup *setup)
(gtk_page_setup_get_right_margin (setup, GTK_UNIT_POINTS));
}
+/**
+ * gnm_conf_get_printer_decoration_font:
+ *
+ * Returns: (transfer full): a style appropriate for for headers and
+ * footers.
+ */
GnmStyle *
gnm_conf_get_printer_decoration_font (void)
{
diff --git a/src/hlink.c b/src/hlink.c
index d195edb..c77b0de 100644
--- a/src/hlink.c
+++ b/src/hlink.c
@@ -557,6 +557,9 @@ GSF_CLASS (GnmHLinkExternal, gnm_hlink_external,
gnm_hlink_external_class_init, NULL,
GNM_HLINK_TYPE)
+/**
+ * _gnm_hlink_init: (skip)
+ */
void
_gnm_hlink_init (void)
{
diff --git a/src/sheet-object.c b/src/sheet-object.c
index d997880..c6a4fe2 100644
--- a/src/sheet-object.c
+++ b/src/sheet-object.c
@@ -1859,6 +1859,9 @@ sheet_object_move_do (GSList *objects, GSList *anchors,
/*****************************************************************************/
+/**
+ * sheet_objects_init: (skip)
+ */
void
sheet_objects_init (void)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]