gnucash maint: use gtk_entry_get_text instead of gtk_editable_get_chars

Christopher Lam clam at code.gnucash.org
Tue Aug 2 09:09:07 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/1b845a86 (commit)
	from  https://github.com/Gnucash/gnucash/commit/d1aefc85 (commit)



commit 1b845a86f3064c040b998a6f22a5490cee8858d6
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Aug 1 23:44:05 2022 +0800

    use gtk_entry_get_text instead of gtk_editable_get_chars
    
    the former returns a const char* which does not need to be freed.



Summary of changes:
 gnucash/gnome-utils/gnc-account-sel.c |  7 ++---
 gnucash/gnome/dialog-customer.c       | 57 ++++++++++++-----------------------
 gnucash/gnome/dialog-doclink.c        |  9 +++---
 gnucash/gnome/dialog-employee.c       | 36 ++++++++--------------
 gnucash/gnome/dialog-invoice.c        |  6 ++--
 gnucash/gnome/dialog-job.c            |  9 ++----
 gnucash/gnome/dialog-order.c          |  6 ++--
 gnucash/gnome/dialog-sx-editor.c      |  2 +-
 gnucash/gnome/dialog-vendor.c         | 32 +++++++-------------
 9 files changed, 57 insertions(+), 107 deletions(-)



More information about the gnucash-patches mailing list