mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
parent
fb26ef648e
commit
ee217c61b2
@ -53,6 +53,16 @@
|
||||
#undef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN "gnc.app-utils.sx"
|
||||
|
||||
/** Report errors bilingual:
|
||||
* in g_critical untranslated and
|
||||
* in g_list_append translated.
|
||||
*/
|
||||
#define REPORT_ERROR(list, format, ...) do { \
|
||||
g_critical(format, __VA_ARGS__); \
|
||||
if (list != NULL) \
|
||||
*list = g_list_append(*list, g_strdup_printf(_(format), __VA_ARGS__)); \
|
||||
} while (0)
|
||||
|
||||
static GObjectClass *parent_class = NULL;
|
||||
|
||||
static void gnc_sx_instance_model_class_init (GncSxInstanceModelClass *klass);
|
||||
|
@ -259,14 +259,4 @@ GHashTable* gnc_sx_all_instantiate_cashflow_all(GDate range_start, GDate range_e
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
/** Report errors bilingual:
|
||||
* in g_critical untranslated and
|
||||
* in g_list_append translated.
|
||||
*/
|
||||
#define REPORT_ERROR(list, format, ...) do { \
|
||||
g_critical(format, __VA_ARGS__); \
|
||||
if (list != NULL) \
|
||||
*list = g_list_append(*list, g_strdup_printf(_(format), __VA_ARGS__)); \
|
||||
} while (0)
|
||||
|
||||
#endif // _GNC_SX_INSTANCE_MODEL_H
|
||||
|
Loading…
Reference in New Issue
Block a user