From e06b88c4fda627599d7c1a33ddec0a35a4374e4f Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 13 Oct 2009 16:24:10 +0200 Subject: Bug #594471 - Shouldn't call e_error_new/run with NULL 'parent' --- shell/e-shell-migrate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'shell/e-shell-migrate.c') diff --git a/shell/e-shell-migrate.c b/shell/e-shell-migrate.c index 10cea586b6..a330d9d1a5 100644 --- a/shell/e-shell-migrate.c +++ b/shell/e-shell-migrate.c @@ -71,7 +71,7 @@ shell_migrate_attempt (EShell *shell, gint response; response = e_error_run ( - NULL, "shell:upgrade-failed", + e_shell_get_active_window (shell), "shell:upgrade-failed", error->message, NULL); if (response == GTK_RESPONSE_CANCEL) @@ -243,7 +243,7 @@ e_shell_migrate_attempt (EShell *shell) have = g_strdup_printf (_("%ld KB"), avail); e_error_run ( - NULL, "shell:upgrade-nospace", + e_shell_get_active_window (shell), "shell:upgrade-nospace", need, have, NULL); g_free (need); @@ -286,13 +286,13 @@ check_old: string = g_strdup_printf ( "%d.%d.%d", last_major, last_minor, last_micro); response = e_error_run ( - NULL, "shell:upgrade-remove-1-4", string, NULL); + e_shell_get_active_window (shell), "shell:upgrade-remove-1-4", string, NULL); g_free (string); switch (response) { case GTK_RESPONSE_OK: /* delete */ response = e_error_run ( - NULL, + e_shell_get_active_window (shell), "shell:upgrade-remove-1-4-confirm", NULL); if (response == GTK_RESPONSE_OK) -- cgit v1.2.3