gnucash stable: Correct the Doxygen doc for qof_instance_get/set_kvp.

John Ralls jralls at code.gnucash.org
Fri May 22 18:48:19 EDT 2026


Updated	 via  https://github.com/Gnucash/gnucash/commit/ec4a85a5 (commit)
	from  https://github.com/Gnucash/gnucash/commit/43b6b92e (commit)



commit ec4a85a56cd497446e280b29de01ede9674d2ec9
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu May 21 17:33:20 2026 -0700

    Correct the Doxygen doc for qof_instance_get/set_kvp.

diff --git a/libgnucash/engine/qofinstance-p.h b/libgnucash/engine/qofinstance-p.h
index cf4c676bb5..2f18fd387a 100644
--- a/libgnucash/engine/qofinstance-p.h
+++ b/libgnucash/engine/qofinstance-p.h
@@ -121,17 +121,19 @@ gboolean qof_instance_has_kvp (QofInstance *inst);
 /** Sets a KVP slot to a value from a GValue. Intermediate container
  * frames will be created if necessary. Commits the change to the QofInstance.
  * @param inst: The QofInstance on which to set the value.
- * @param key: The path to the slot.
  * @param value: A GValue containing an item of a type which KvpValue knows
  *           how to store.
+ * @param count: The number of path elements passed in the varargs
+ * @param ...: The path elements as const char*
  */
 void qof_instance_set_kvp (QofInstance *, GValue const * value, unsigned count, ...);
 
 /** Retrieves the contents of a KVP slot into a provided GValue.
  * @param inst: The QofInstance
- * @param key: The path to the slot.
  * @param value: A GValue into which to store the value of the slot. It will be
  *               set to the correct type.
+ * @param count: The number of path elements passed in the varargs
+ * @param ...: The path elements as const char*
  */
 void qof_instance_get_kvp (QofInstance *, GValue * value, unsigned count, ...);
 



Summary of changes:
 libgnucash/engine/qofinstance-p.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list