summaryrefslogtreecommitdiff
path: root/modules/benchmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/benchmark.c')
-rw-r--r--modules/benchmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/benchmark.c b/modules/benchmark.c
index c8963a4f..c19295b2 100644
--- a/modules/benchmark.c
+++ b/modules/benchmark.c
@@ -694,7 +694,7 @@ static void do_benchmark(void (*benchmark_function)(void), int entry)
_("Benchmarking. Please do not move your mouse "
"or press any keys."));
gtk_window_set_transient_for(GTK_WINDOW(bench_dialog),
- GTK_WINDOW(shell_get_main_shell()->window));
+ GTK_WINDOW(shell_get_main_shell()->transient_dialog));
gtk_dialog_add_buttons(GTK_DIALOG(bench_dialog), _("Cancel"),
GTK_RESPONSE_ACCEPT, NULL);