mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix a possible transient parent dialogue warning
This commit is contained in:
parent
19d6eb9028
commit
b3f1104d39
@ -4335,7 +4335,7 @@ scm_apply_cb (GNCOptionWin *win, gpointer data)
|
||||
results = gnc_option_db_commit (win->option_db);
|
||||
for (iter = results; iter; iter = iter->next)
|
||||
{
|
||||
GtkWidget *dialog = gtk_message_dialog_new(NULL,
|
||||
GtkWidget *dialog = gtk_message_dialog_new(GTK_WINDOW(gnc_options_dialog_widget(win)),
|
||||
0,
|
||||
GTK_MESSAGE_ERROR,
|
||||
GTK_BUTTONS_OK,
|
||||
|
@ -292,7 +292,7 @@ gnc_column_view_edit_apply_cb(GNCOptionWin * w, gpointer user_data)
|
||||
results = gnc_option_db_commit (win->odb);
|
||||
for (iter = results; iter; iter = iter->next)
|
||||
{
|
||||
GtkWidget *dialog = gtk_message_dialog_new(NULL,
|
||||
GtkWidget *dialog = gtk_message_dialog_new(GTK_WINDOW(gnc_options_dialog_widget(w)),
|
||||
0,
|
||||
GTK_MESSAGE_ERROR,
|
||||
GTK_BUTTONS_OK,
|
||||
|
Loading…
Reference in New Issue
Block a user