mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-10-13 01:41:59 -05:00
Clean up a couple of compilation warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6812 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
1 parent
44331d5796
commit
8d1cb07b21
4 files changed
+5
-6
No files matched your search
@@ -75,6 +75,8 @@ void gnc_warning_dialog_parented(gncUIWidget parent, const char *message);
|
||||
|
||||
gboolean gnc_verify_dialog(const char *message, gboolean yes_is_default);
|
||||
|
||||
void gnc_error_dialog_parented(GtkWindow *parent, const char *message);
|
||||
|
||||
int gnc_choose_radio_option_dialog_parented (gncUIWidget parent,
|
||||
const char *title,
|
||||
const char *msg,
|
||||
|
||||
@@ -514,7 +514,7 @@ show_handler (const char *class, gint component_id,
|
||||
gtk_window_present (GTK_WINDOW(fcd->dialog));
|
||||
}
|
||||
|
||||
FinCalcDialog *
|
||||
void
|
||||
gnc_ui_fincalc_dialog_create(void)
|
||||
{
|
||||
gnc_commodity *commodity;
|
||||
@@ -719,8 +719,6 @@ gnc_ui_fincalc_dialog_create(void)
|
||||
gtk_widget_grab_focus(fcd->amounts[PAYMENT_PERIODS]);
|
||||
|
||||
gtk_widget_show(fcd->dialog);
|
||||
|
||||
return fcd;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
typedef struct _FinCalcDialog FinCalcDialog;
|
||||
|
||||
FinCalcDialog * gnc_ui_fincalc_dialog_create(void);
|
||||
void gnc_ui_fincalc_dialog_create(void);
|
||||
void gnc_ui_fincalc_dialog_destroy(FinCalcDialog *fcd);
|
||||
|
||||
#endif
|
||||
@@ -927,11 +927,10 @@ gnc_split_register_traverse (VirtualLocation *p_new_virt_loc,
|
||||
{
|
||||
const char *format = _("The account %s does not allow transactions.\n");
|
||||
char *message;
|
||||
gboolean result;
|
||||
|
||||
message = g_strdup_printf (format, name);
|
||||
|
||||
gnc_error_dialog_parented (gnc_split_register_get_parent (reg),
|
||||
gnc_error_dialog_parented (GTK_WINDOW(gnc_split_register_get_parent (reg)),
|
||||
message);
|
||||
g_free(message);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user