mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
fix warnings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6706 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
2e42ed44b9
commit
edbbab384a
@ -262,8 +262,10 @@ gnc_search_dialog_close_cb (GnomeDialog *dialog, GNCSearchWindow *sw)
|
||||
}
|
||||
|
||||
static void
|
||||
close_handler (GNCSearchWindow *sw)
|
||||
close_handler (gpointer data)
|
||||
{
|
||||
GNCSearchWindow * sw = data;
|
||||
|
||||
gnome_dialog_close (GNOME_DIALOG (sw->dialog));
|
||||
}
|
||||
|
||||
@ -380,8 +382,8 @@ make_param (GNCIdTypeConst type, const char *title, const char *path1,
|
||||
gnc_search_param_set_title (param, title);
|
||||
|
||||
if (path2)
|
||||
l = g_slist_prepend (l, path2);
|
||||
l = g_slist_prepend (l, path1);
|
||||
l = g_slist_prepend (l, (gpointer) path2);
|
||||
l = g_slist_prepend (l, (gpointer) path1);
|
||||
|
||||
gnc_search_param_set_param_path (param, type, l);
|
||||
|
||||
|
@ -473,7 +473,7 @@ gnc_report_window_export_button_cb(GtkWidget * w, gpointer data)
|
||||
SCM res;
|
||||
|
||||
choice = gh_cdr (choice);
|
||||
file_scm = gh_str02scm (filepath);
|
||||
file_scm = gh_str02scm ((char *) filepath);
|
||||
|
||||
res = gh_call3 (export_thunk, report->cur_report, choice, file_scm);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user