mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Delete unused function gnc-_split_reg_handle_exchange_cb.
This commit is contained in:
parent
0baf078b6f
commit
734ecce36d
@ -164,8 +164,6 @@ void gnc_split_reg_size_allocate( GtkWidget *widget,
|
|||||||
gpointer user_data );
|
gpointer user_data );
|
||||||
|
|
||||||
|
|
||||||
void gnc_split_reg_handle_exchange_cb (GtkWidget *w, gpointer data);
|
|
||||||
|
|
||||||
static void gnc_split_reg_class_init( GNCSplitRegClass *klass );
|
static void gnc_split_reg_class_init( GNCSplitRegClass *klass );
|
||||||
static void gnc_split_reg_init( GNCSplitReg *gsr );
|
static void gnc_split_reg_init( GNCSplitReg *gsr );
|
||||||
static void gnc_split_reg_init2( GNCSplitReg *gsr );
|
static void gnc_split_reg_init2( GNCSplitReg *gsr );
|
||||||
@ -1902,16 +1900,6 @@ gnc_split_reg_set_sort_reversed(GNCSplitReg *gsr, gboolean rev)
|
|||||||
gnc_ledger_display_refresh( gsr->ledger );
|
gnc_ledger_display_refresh( gsr->ledger );
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
gnc_split_reg_handle_exchange_cb (GtkWidget *w, gpointer data)
|
|
||||||
{
|
|
||||||
GNCSplitReg *gsr = data;
|
|
||||||
SplitRegister *reg = gnc_ledger_display_get_split_register (gsr->ledger);
|
|
||||||
|
|
||||||
/* XXX Ignore the return value -- we don't care if this succeeds */
|
|
||||||
(void)gnc_split_register_handle_exchange (reg, TRUE);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gnc_split_reg_record (GNCSplitReg *gsr)
|
gnc_split_reg_record (GNCSplitReg *gsr)
|
||||||
{
|
{
|
||||||
|
@ -1287,10 +1287,13 @@ gnc_split_register_xfer_dialog(SplitRegister *reg, Transaction *txn,
|
|||||||
return xfer;
|
return xfer;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This function checks to see if we need to determine an exchange rate.
|
/** Check to see if we need to determine an exchange rate.
|
||||||
* If we need to determine an exchange rate, then pop up the dialog.
|
* If we need to determine an exchange rate, then pop up the dialog.
|
||||||
* If the dialog does not complete successfully, then return TRUE.
|
* If the dialog does not complete successfully, then return TRUE.
|
||||||
* Return FALSE in all other cases (meaning "move on")
|
* Return FALSE in all other cases (meaning "move on")
|
||||||
|
* @param reg the register to operate on
|
||||||
|
* @param force_dialog pop a dialog even if we don't think we need it.
|
||||||
|
* @return whether more handling is required.
|
||||||
*/
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
gnc_split_register_handle_exchange (SplitRegister *reg, gboolean force_dialog)
|
gnc_split_register_handle_exchange (SplitRegister *reg, gboolean force_dialog)
|
||||||
|
Loading…
Reference in New Issue
Block a user