Christoph Holtermann
5393c63b65
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_plugin_menu_additions_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE. Rename GNCDateFormatPriv to GNCDateFormatPrivate.
2019-01-26 08:15:03 +01:00
Christoph Holtermann
96331ab6dc
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_plugin_manager_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE. Rename GNCDateFormatPriv to GNCDateFormatPrivate.
2019-01-26 08:15:03 +01:00
Christoph Holtermann
c612026e68
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_plugin_file_history_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE. Rename GNCDateFormatPriv to GNCDateFormatPrivate.
2019-01-26 08:15:03 +01:00
Christoph Holtermann
93e4f314e8
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_date_format_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE. Rename GNCDateFormatPriv to GNCDateFormatPrivate.
2019-01-26 08:15:03 +01:00
Christoph Holtermann
d63a6e2ea9
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_currency_edit_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
71272548fb
use G_DEFINE_TYPE_WITH_CODE to replace g_type_class_add_private
...
gnc_main_window_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
use GNC_DEFINE_TYPE_WITH_CODE to preserve 2nd init parameter
2019-01-26 08:15:02 +01:00
Christoph Holtermann
01de89383b
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_embedded_window_get_type is being replaced by
that provided by G_DEFINE_TYPE_WITH_PRIVATE and G_ADD_PRIVATE.
Replace g_type_add_interface_static by G_IMPLEMENT_INTERFACE.
2019-01-26 08:15:02 +01:00
Christoph Holtermann
e841a00a21
use GNC_DEFINE_TYPE_WITH_CODE to replace g_type_class_add_private
...
gnc_tree_view_get_type is being replaced by that provided by GNC_DEFINE_TYPE_WITH_CODE.
GNC_DEFINE_TYPE_WITH_CODE preserves 2nd init parameter.
2019-01-26 08:15:02 +01:00
Christoph Holtermann
114142766f
revert 630f5ba2a693d0a6a9b3ebced645dfd4c5046c98
...
Error about conflicting types for ‘gnc_plugin_page_init’.
2019-01-26 08:15:02 +01:00
Christoph Holtermann
30151dc4fe
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_plugin_page_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
8356c58ed6
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private(rename)
...
..._get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
rename gctt to gnc_combott to fit naming standard
2019-01-26 08:15:02 +01:00
Christoph Holtermann
2c73010b8f
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_tree_model_account_types_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_CODE
and G_ADD_PRIVATE. Replace g_type_add_interface_static by G_IMPLEMENT_INTERFACE.
2019-01-26 08:15:02 +01:00
Christoph Holtermann
409f576a54
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_tree_model_price_get_type is being replaced by
that provided by G_DEFINE_TYPE_WITH_PRIVATE and G_ADD_PRIVATE.
Replace g_type_add_interface_static by G_IMPLEMENT_INTERFACE.
2019-01-26 08:15:02 +01:00
Christoph Holtermann
796f38cfbd
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_period_select_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
a7e5ac8392
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_tree_view_split_reg_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
b0fc078912
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_tree_model_owner_get_type is being replaced by
that provided by G_DEFINE_TYPE_WITH_PRIVATE and G_ADD_PRIVATE.
Replace g_type_add_interface_static by G_IMPLEMENT_INTERFACE.
2019-01-26 08:15:02 +01:00
Christoph Holtermann
3fc6ff1f61
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_query_view_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
83e59419da
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_plugin_page_sx_list_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
bef2c2016a
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_plugin_page_register2_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
5506973d00
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_plugin_page_owner_tree_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
1a29b81a36
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_plugin_page_account_tree_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
ce27afb892
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_plugin_business_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
eab5753aa6
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_plugin_budget_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
e99c3d68d0
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_plugin_basic_commands_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
4645124307
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_search_param_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
c8d8cc44c0
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_tree_view_price_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
3eb5c88c5a
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_tree_view_owner_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
df74ac3cd2
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_tree_model_selection_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_CODE
and G_ADD_PRIVATE. Replace g_type_add_interface_static by G_IMPLEMENT_INTERFACE.
2019-01-26 08:15:02 +01:00
Christoph Holtermann
8814ad7715
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_tree_model_owner_get_type is being replaced by that provided by G_DEFINE_TYPE_WITH_CODE
and G_ADD_PRIVATE. Replace g_type_add_interface_static by G_IMPLEMENT_INTERFACE.
2019-01-26 08:15:02 +01:00
Christoph Holtermann
8a4ef02c38
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private
...
gnc_tree_view_account_get_type is being replaced by that
provided by G_DEFINE_TYPE_WITH_CODE and G_ADD_PRIVATE.
Replace g_type_add_interface_static by G_IMPLEMENT_INTERFACE.
2019-01-26 08:15:02 +01:00
Christoph Holtermann
ddda853074
use G_DEFINE_TYPE_WITH_PRIVATE to replace g_type_class_add_private -
...
replace objects ..._get_type method by that provided by G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
2ab6650e9a
Replace deprecated g_type_class_add_private
...
use G_DEFINE_TYPE_WITH_PRIVATE
and adapt name of private property to work with G_DEFINE_TYPE_WITH_PRIVATE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
2cfc61182e
directly use G_DEFINE_TYPE instead of QOF_GOBJECT_GET_TYPE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
1bfcc95998
directly use G_DEFINE_TYPE_WITH_PRIVATE instead of QOF_GOBJECT_GET_TYPE
2019-01-26 08:15:02 +01:00
Christoph Holtermann
658da08008
replace deprecated g_type_class_add_private
2019-01-26 08:15:02 +01:00
John Ralls
84d1c3645d
Use NULL, not '\0', to set a char* argument to NULL.
2019-01-25 12:52:14 -08:00
John Ralls
f9f714c78d
gnc_pricedb_nth_price: Clarify code and cache results.
...
Use built-in glib functions to retrieve the list of per-currency price
lists, concatenate them into a single list, instead of doing it all in
hand-rolled loops.
Sorting is preformed by the calling GncTreeViewPrice so this removes
sorting from gnc_pricedb_nth_price.
There's no concurrency concern because gnc_pricedb_nth_price is a
GUI callback and so must run in the GUI thread.
2019-01-25 08:49:03 -08:00
Alex Aycinena
fc15364326
remove unnecesary 'home' level in path for US Income Tax book tax information
2019-01-24 18:36:13 -08:00
John Ralls
3a48672763
Complete reversion of e81bcf6
in gnc-pricedb.c.
2019-01-23 17:54:29 -08:00
Christian Stimming
9069bace15
Fix unused return value error from e4836f3c
...
Re-introducing the fgets() call in e4836f3c
that has been removed in
bf55c30
triggers the "ignoring return value of fgets, declared with
attribute warn_unused_result" error. The even better way is to actually
use the return value and check it for non-NULL because only then
we did a successful fgets call where we can use its result.
2019-01-20 20:39:20 +01:00
John Ralls
020bc5371f
Bug 797046 - Tools / Price Database / Currencies UI not working...
...
since 3.4.
2019-01-19 14:31:10 -08:00
John Ralls
e31f4c3f95
Fix unlocalized date in status bar.
...
It seems that std::locales created by boost::locale::generator are
not entirely compatible: If used to create a new locale with a facet
for boost::date_time one ends up with the C locale and the facet.
For the time being avoid the problem by using boost::locale to format
dates and times. std::chrono gets calendar functions in C++20 so we
can switch date-time backends once we can adopt it.
2019-01-19 13:41:17 -08:00
Geert Janssens
72ef48cbf2
Merge branch 'bugs_icv' of https://github.com/ekinonnakapito/gnucash into maint
2019-01-19 17:47:30 +01:00
Geert Janssens
f7173c341a
Suppress a few more gtk deprecation warnings
...
For GtkAction and GtkTable.
2019-01-19 16:51:50 +01:00
Alex Aycinena
08704127d1
bug #796498 - Incorrect starting balance in TXF Report calculations
2019-01-18 20:19:56 -08:00
Christian Stimming
48988ac59a
Update German translation
2019-01-18 23:52:51 +01:00
Christian Stimming
6f34995901
Usability improvements for Bayes editor window
...
Remove the "Are you sure" question as it is simply annoying but does
not help. Fix some string wordings to be more understandable.
2019-01-18 23:52:51 +01:00
Christian Stimming
b521658ce3
Online transfer: Do no longer force existence of local BIC code
...
The BIC code for SEPA transfer used to be mandantory, but turned optional
more recently and the local IBAN code is sufficient. Gnucash still
checked the local BIC code existence and forced the user to get it
from somewhere. This is no longer needed - local IBAN is enough.
2019-01-18 23:52:51 +01:00
Christian Stimming
47c35aeaf9
Online transfer and PIN/TAN entry: Entering of TAN must use normal visibility
...
The visibility of the entered content was set to FALSE (=invisible) always,
which was wrong for certain types of input as indicated by the GUI_INPUT_FLAGS.
This should now be honored and visibility set to TRUE (=visible) for
the correct flags.
2019-01-18 23:52:51 +01:00
Christian Stimming
417a012b78
Aqbanking import: Fix reconcile timestamps when importing balances.
...
Used to be start-of-day, but needs to be day-neutral.
2019-01-18 23:52:51 +01:00