Fix deprecated G_TYPE_INSTANCE_GET_PRIVATE and G_INLINE_FUNC

with the function/declaration that they substituted.
Note that this doesn't use the recommended new GObject creation macros
because the class names in libgnucash/engine don't follow the gnome
naming convention.
This commit is contained in:
John Ralls
2019-09-10 16:33:33 -07:00
parent 70eb7172d5
commit c23f3f05e3
77 changed files with 84 additions and 84 deletions

View File

@@ -2088,9 +2088,7 @@ typedef enum
#define done_state(state) (((state) == DONE_ST) || ((state) == NO_NUM_ST))
G_INLINE_FUNC long long int multiplier (int num_decimals);
long long int
static inline long long int
multiplier (int num_decimals)
{
switch (num_decimals)