From 5d1dce8f608699ef4f4589e7a0a193d0fcfa4e7a Mon Sep 17 00:00:00 2001 From: Morten Welinder Date: Wed, 18 Apr 2018 21:41:32 -0400 Subject: [PATCH] Introspection fixes --- src/gnumeric-conf.c | 29 +++++++++++++++++++++++++++++ src/hlink.c | 3 +++ src/sheet-object.c | 3 +++ 3 files changed, 35 insertions(+) diff --git a/src/gnumeric-conf.c b/src/gnumeric-conf.c index 10002f0c9..465d8edfa 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 d195edb80..c77b0de56 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 d99788015..c6a4fe2b4 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) { -- 2.11.4.GIT