gnucash/bindings/python
John Ralls 688832b5f8 Bug 798585 - segfault running sample script
The root cause of which is that on recent releases of GLib (recent
meaning 2.66 in the current Debian stable!) g_type_instance_get_private
looks in the wrong place for the private data. When running the script
in question it returned NULL and since the code didn't check for a valid
pointer, it crashed.

So this change replaces all calls to g_type_instance_get_private with
the function [type_prefix]_get_instance_private() added in glib-2.36
except for two register2 files that have been removed from master; those
are ignored to avoid unnecessary merge conflicts.
2022-07-30 16:50:51 -07:00
..
example_scripts Bug 798585 - segfault running sample script 2022-07-30 16:50:51 -07:00
tests Merge branch 'TXN_TYPE-is-dynamic' xaccTransGetTxnType into maint #1201 2022-07-18 09:24:32 +08:00
__init__.py introduce python submodule deprecation 2020-06-20 10:40:54 +02:00
app_utils.py restructure info so that python help will display it 2020-04-20 16:07:50 +02:00
CMakeLists.txt introduce python submodule deprecation 2020-06-20 10:40:54 +02:00
deprecation.py Python Bindings: Provide a deprecated GncPriceDB.lookup_latest_before_t64. 2021-04-23 11:56:15 +01:00
function_class.py Fix misc. typos in comments 2021-06-29 08:46:34 +02:00
gnucash_business.py Update python/gnucash_business.py to reflect rename of gncOwnerApplyPayment. 2021-03-14 10:48:30 -07:00
gnucash_core.i Decouple QofBook creation from QofSession. 2020-05-08 15:59:41 -07:00
gnucash_core.py make GncNumeric.invert() return GncNumeric 2022-03-20 20:04:56 +01:00
sqlite3test.c Replace the three bool parameters to qof_session_begin to an enum. 2020-06-04 14:07:28 -07:00
time64.i remove debug information for time conversion 2021-03-27 14:05:21 +01:00