mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Get gnucash to compile with gcc4.1.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13108 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2006-02-04 David Hampton <david@dhcp-15.rainbolthampton.net>
|
||||
|
||||
* src/register/ledger-core/split-register.c:
|
||||
* src/gnome-utils/gnc-tree-view-account.c: Get gnucash to compile
|
||||
with gcc4.1.
|
||||
|
||||
2006-02-04 Derek Atkins <derek@ihtfp.com>
|
||||
|
||||
* lib/libqof/qof/gnc-numeric.c:
|
||||
|
||||
@@ -1554,6 +1554,7 @@ gppat_filter_response_cb (GtkWidget *dialog,
|
||||
AccountFilterDialog *fd)
|
||||
{
|
||||
GtkWidget *view;
|
||||
gpointer gptemp;
|
||||
|
||||
g_return_if_fail(GTK_IS_DIALOG(dialog));
|
||||
|
||||
@@ -1567,8 +1568,10 @@ gppat_filter_response_cb (GtkWidget *dialog,
|
||||
}
|
||||
|
||||
/* Clean up and delete dialog */
|
||||
g_atomic_pointer_compare_and_exchange((gpointer *)&fd->dialog,
|
||||
gptemp = (gpointer *)fd->dialog;
|
||||
g_atomic_pointer_compare_and_exchange(&gptemp,
|
||||
dialog, NULL);
|
||||
fd->dialog = gptemp;
|
||||
gtk_widget_destroy(dialog);
|
||||
LEAVE("types 0x%x", fd->visible_types);
|
||||
}
|
||||
|
||||
@@ -1403,8 +1403,8 @@ gnc_split_register_save (SplitRegister *reg, gboolean do_commit)
|
||||
return FALSE;
|
||||
|
||||
/* Validate the transfer account names */
|
||||
(void *)gnc_split_register_get_account (reg, MXFRM_CELL);
|
||||
(void *)gnc_split_register_get_account (reg, XFRM_CELL);
|
||||
(void)gnc_split_register_get_account (reg, MXFRM_CELL);
|
||||
(void)gnc_split_register_get_account (reg, XFRM_CELL);
|
||||
|
||||
/* Maybe deal with exchange-rate transfers */
|
||||
if (gnc_split_register_handle_exchange (reg, FALSE))
|
||||
|
||||
Reference in New Issue
Block a user