mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix compile error related to uninitialized value.
Patch by Matt Lavin <matt.lavin@gmail.com>. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18397 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9f31693c7e
commit
0376d434a2
@ -64,17 +64,16 @@ gnc_ifg_option_changed (GtkComboBox *combo, GNCImportProvFormatGnome *prov_f)
|
||||
{
|
||||
GtkTreeModel *model;
|
||||
GtkTreeIter iter;
|
||||
gint value;
|
||||
GncImportFormat value;
|
||||
|
||||
g_return_if_fail(GTK_IS_COMBO_BOX(combo));
|
||||
g_return_if_fail(value);
|
||||
|
||||
model = gtk_combo_box_get_model(combo);
|
||||
if (!gtk_combo_box_get_active_iter(combo, &iter))
|
||||
return;
|
||||
|
||||
gtk_tree_model_get(model, &iter, IFG_COL_VALUE, &value, -1);
|
||||
prov_f->choice = (GncImportFormat)value;
|
||||
prov_f->choice = value;
|
||||
}
|
||||
|
||||
#define ADD_MENU_ITEM(str,op) { \
|
||||
|
Loading…
Reference in New Issue
Block a user