mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix Scheme logging bug in core-utils by treating strings as generic strings rather than format strings.
BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17214 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
fedaa3d87e
commit
894c0f20a6
@ -269,25 +269,25 @@ gnc_g_list_cut(GList **list, GList *cut_point)
|
|||||||
void
|
void
|
||||||
gnc_scm_log_warn(const gchar *msg)
|
gnc_scm_log_warn(const gchar *msg)
|
||||||
{
|
{
|
||||||
g_log("gnc.scm", G_LOG_LEVEL_WARNING, msg);
|
g_log("gnc.scm", G_LOG_LEVEL_WARNING, "%s", msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gnc_scm_log_error(const gchar *msg)
|
gnc_scm_log_error(const gchar *msg)
|
||||||
{
|
{
|
||||||
g_log("gnc.scm", G_LOG_LEVEL_CRITICAL, msg);
|
g_log("gnc.scm", G_LOG_LEVEL_CRITICAL, "%s", msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gnc_scm_log_msg(const gchar *msg)
|
gnc_scm_log_msg(const gchar *msg)
|
||||||
{
|
{
|
||||||
g_log("gnc.scm", G_LOG_LEVEL_MESSAGE, msg);
|
g_log("gnc.scm", G_LOG_LEVEL_MESSAGE, "%s", msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gnc_scm_log_debug(const gchar *msg)
|
gnc_scm_log_debug(const gchar *msg)
|
||||||
{
|
{
|
||||||
g_log("gnc.scm", G_LOG_LEVEL_DEBUG, msg);
|
g_log("gnc.scm", G_LOG_LEVEL_DEBUG, "%s", msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
void gnc_gpid_kill(GPid pid)
|
void gnc_gpid_kill(GPid pid)
|
||||||
|
Loading…
Reference in New Issue
Block a user