mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[import-format-dialog.cpp] convert to cpp
This commit is contained in:
parent
0e48488964
commit
5f20e633f2
@ -17,7 +17,7 @@ set (generic_import_SOURCES
|
||||
import-account-matcher.cpp
|
||||
import-commodity-matcher.cpp
|
||||
import-backend.cpp
|
||||
import-format-dialog.c
|
||||
import-format-dialog.cpp
|
||||
import-match-picker.cpp
|
||||
import-parse.c
|
||||
import-utilities.c
|
||||
|
@ -38,7 +38,7 @@
|
||||
static void
|
||||
option_changed_cb (GtkWidget *widget, gpointer index_p)
|
||||
{
|
||||
gint *my_index = index_p;
|
||||
auto my_index = static_cast<gint*>(index_p);
|
||||
*my_index = gtk_combo_box_get_active(GTK_COMBO_BOX(widget));
|
||||
}
|
||||
|
||||
@ -139,7 +139,7 @@ gnc_import_choose_fmt(const char* msg, GncImportFormat fmts, gpointer data)
|
||||
GtkWidget *dialog;
|
||||
GtkWidget *widget;
|
||||
|
||||
g_return_val_if_fail(fmts, FALSE);
|
||||
g_return_val_if_fail (fmts, GNCIF_NONE);
|
||||
|
||||
/* if there is only one format available, just return it */
|
||||
if (!(fmts & (fmts - 1)))
|
@ -349,7 +349,7 @@ gnucash/import-export/customer-import/gnc-plugin-customer-import.c
|
||||
gnucash/import-export/import-account-matcher.cpp
|
||||
gnucash/import-export/import-backend.cpp
|
||||
gnucash/import-export/import-commodity-matcher.cpp
|
||||
gnucash/import-export/import-format-dialog.c
|
||||
gnucash/import-export/import-format-dialog.cpp
|
||||
gnucash/import-export/import-main-matcher.cpp
|
||||
gnucash/import-export/import-match-picker.cpp
|
||||
gnucash/import-export/import-parse.c
|
||||
|
Loading…
Reference in New Issue
Block a user