mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/app-utils/option-util.c
(gnc_option_db_register_change_callback): coerce away guile 1.3.4 warning. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5517 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
76412ff0ce
commit
00c6a58c55
@ -397,16 +397,26 @@ gnc_option_db_register_change_callback(GNCOptionDB *odb,
|
||||
|
||||
/* next the name */
|
||||
if (name == NULL)
|
||||
{
|
||||
arg = SCM_BOOL_F;
|
||||
}
|
||||
else
|
||||
arg = gh_str02scm(name);
|
||||
{
|
||||
/* FIXME: when we drop support older guiles, drop the (char *) coercion. */
|
||||
arg = gh_str02scm((char *) name);
|
||||
}
|
||||
args = gh_cons(arg, args);
|
||||
|
||||
/* next the section */
|
||||
if (section == NULL)
|
||||
{
|
||||
arg = SCM_BOOL_F;
|
||||
}
|
||||
else
|
||||
arg = gh_str02scm(section);
|
||||
{
|
||||
/* FIXME: when we drop support older guiles, drop the (char *) coercion. */
|
||||
arg = gh_str02scm((char *) section);
|
||||
}
|
||||
args = gh_cons(arg, args);
|
||||
|
||||
/* now apply the procedure */
|
||||
|
Loading…
Reference in New Issue
Block a user