mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Missed adding new parent window parameter
Added a GtkWindow parameter to csv_import_read_file to pass to the error dialogue but missed actually adding it.
This commit is contained in:
@@ -78,7 +78,7 @@ fill_model_with_match(GMatchInfo *match_info,
|
|||||||
* Parse the file for a correctly formatted file
|
* Parse the file for a correctly formatted file
|
||||||
*******************************************************/
|
*******************************************************/
|
||||||
csv_import_result
|
csv_import_result
|
||||||
csv_import_read_file (GtkWindow *win, const gchar *filename,
|
csv_import_read_file (GtkWindow *window, const gchar *filename,
|
||||||
const gchar *parser_regexp,
|
const gchar *parser_regexp,
|
||||||
GtkListStore *store, guint max_rows)
|
GtkListStore *store, guint max_rows)
|
||||||
{
|
{
|
||||||
@@ -114,7 +114,7 @@ csv_import_read_file (GtkWindow *win, const gchar *filename,
|
|||||||
parser_regexp, err->message);
|
parser_regexp, err->message);
|
||||||
g_error_free (err);
|
g_error_free (err);
|
||||||
|
|
||||||
dialog = gtk_message_dialog_new (NULL,
|
dialog = gtk_message_dialog_new (window,
|
||||||
GTK_DIALOG_MODAL,
|
GTK_DIALOG_MODAL,
|
||||||
GTK_MESSAGE_ERROR,
|
GTK_MESSAGE_ERROR,
|
||||||
GTK_BUTTONS_OK, "%s", errmsg);
|
GTK_BUTTONS_OK, "%s", errmsg);
|
||||||
|
|||||||
Reference in New Issue
Block a user