mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Change source files dialog-dup-trans.* for space and tabs
This commit is contained in:
parent
4c2df4c2ad
commit
bbc6887b0f
@ -233,8 +233,8 @@ gnc_dup_trans_dialog_create (GtkWidget * parent, DupTransDialog *dt_dialog,
|
||||
static gboolean
|
||||
gnc_dup_trans_dialog_internal (GtkWidget * parent,
|
||||
const char* window_title, const char* title,
|
||||
gboolean show_date, time64 *date_p,
|
||||
GDate *gdate_p, const char *num, char **out_num,
|
||||
gboolean show_date, time64 *date_p, GDate *gdate_p,
|
||||
const char *num, char **out_num,
|
||||
const char *tnum, char **out_tnum,
|
||||
const char *tlink, char **out_tlink)
|
||||
{
|
||||
@ -343,13 +343,16 @@ gnc_dup_trans_dialog_internal (GtkWidget * parent,
|
||||
}
|
||||
|
||||
gboolean
|
||||
gnc_dup_trans_dialog (GtkWidget * parent, const char* title, gboolean show_date,
|
||||
time64 *date_p, const char *num, char **out_num,
|
||||
gnc_dup_trans_dialog (GtkWidget * parent, const char* title,
|
||||
gboolean show_date, time64 *date_p,
|
||||
const char *num, char **out_num,
|
||||
const char *tnum, char **out_tnum,
|
||||
const char *tlink, char **out_tlink)
|
||||
{
|
||||
return gnc_dup_trans_dialog_internal(parent, NULL, title, show_date, date_p, NULL,
|
||||
num, out_num, tnum, out_tnum, tlink, out_tlink);
|
||||
return gnc_dup_trans_dialog_internal (parent, NULL, title,
|
||||
show_date, date_p, NULL,
|
||||
num, out_num, tnum, out_tnum,
|
||||
tlink, out_tlink);
|
||||
}
|
||||
|
||||
gboolean
|
||||
@ -360,16 +363,20 @@ gnc_dup_trans_dialog_gdate (GtkWidget * parent, GDate *gdate_p,
|
||||
g_assert (gdate_p);
|
||||
|
||||
tmp_time = gdate_to_time64 (*gdate_p);
|
||||
return gnc_dup_trans_dialog_internal(parent, NULL, NULL, TRUE, &tmp_time, gdate_p,
|
||||
num, out_num, NULL, NULL, NULL, NULL);
|
||||
return gnc_dup_trans_dialog_internal (parent, NULL, NULL, TRUE,
|
||||
&tmp_time, gdate_p,
|
||||
num, out_num, NULL, NULL,
|
||||
NULL, NULL);
|
||||
}
|
||||
|
||||
gboolean
|
||||
gnc_dup_time64_dialog (GtkWidget * parent, const char *window_title,
|
||||
const char* title, time64 *date)
|
||||
{
|
||||
return gnc_dup_trans_dialog_internal(parent, window_title, title, TRUE, date, NULL,
|
||||
NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
return gnc_dup_trans_dialog_internal (parent, window_title, title, TRUE,
|
||||
date, NULL,
|
||||
NULL, NULL, NULL, NULL,
|
||||
NULL, NULL);
|
||||
}
|
||||
|
||||
gboolean
|
||||
@ -379,7 +386,9 @@ gnc_dup_date_dialog (GtkWidget * parent, const char* title, GDate *gdate_p)
|
||||
g_assert (gdate_p);
|
||||
|
||||
tmp_time = gdate_to_time64 (*gdate_p);
|
||||
return gnc_dup_trans_dialog_internal(parent, NULL, title, TRUE, &tmp_time, gdate_p,
|
||||
NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
return gnc_dup_trans_dialog_internal (parent, NULL, title, TRUE,
|
||||
&tmp_time, gdate_p,
|
||||
NULL, NULL, NULL, NULL,
|
||||
NULL, NULL);
|
||||
}
|
||||
|
||||
|
@ -50,8 +50,9 @@
|
||||
* Return: TRUE if user closes dialog with 'OK' *
|
||||
\***********************************************************************/
|
||||
gboolean
|
||||
gnc_dup_trans_dialog (GtkWidget * parent, const char* title, gboolean show_date,
|
||||
time64 *date_p, const char *num, char **out_num,
|
||||
gnc_dup_trans_dialog (GtkWidget * parent, const char* title,
|
||||
gboolean show_date, time64 *date_p,
|
||||
const char *num, char **out_num,
|
||||
const char *tnum, char **out_tnum,
|
||||
const char *tdoclink, char **out_tdoclink);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user