gnucash stable: [dialog-commodity.h] add extern "C"{}
Christopher Lam
clam at code.gnucash.org
Mon Apr 17 21:18:12 EDT 2023
Updated via https://github.com/Gnucash/gnucash/commit/d9ba9a4c (commit)
from https://github.com/Gnucash/gnucash/commit/bff78f62 (commit)
commit d9ba9a4c83049d2a20325366a0fe4d83c369f4ec
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Thu Apr 13 07:15:45 2023 +0800
[dialog-commodity.h] add extern "C"{}
diff --git a/gnucash/gnome-utils/dialog-commodity.h b/gnucash/gnome-utils/dialog-commodity.h
index e51766ad9b..644c0453ba 100644
--- a/gnucash/gnome-utils/dialog-commodity.h
+++ b/gnucash/gnome-utils/dialog-commodity.h
@@ -37,6 +37,11 @@
#include <gtk/gtk.h>
#include "gnc-commodity.h"
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
/** The dialog commodity types are used to determine what commodity
* namespaces the currency dialog will present to a user. These
* values can be safely changed from one release to the next. Note
@@ -248,6 +253,10 @@ void gnc_ui_update_commodity_picker(GtkWidget *cbwe,
const gchar *sel);
/** @} */
+#ifdef __cplusplus
+}
+#endif
+
#endif
/** @} */
/** @} */
Summary of changes:
gnucash/gnome-utils/dialog-commodity.h | 9 +++++++++
1 file changed, 9 insertions(+)
More information about the gnucash-changes
mailing list