aboutsummaryrefslogtreecommitdiff
path: root/modules/benchmark.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2020-05-13 22:42:22 -0700
committerLeandro Pereira <leandro@hardinfo.org>2020-05-13 22:42:22 -0700
commite50ea0a6d34b59e638ad30116d589bc7aa169f44 (patch)
treedf6180ffe7bbe0f70b5c90409e7d7c6f5d74732b /modules/benchmark.c
parenta19233d7013aad91d4cfa80d216070caa6a8c141 (diff)
Show "Benchmarking..." dialog on top of sync manager
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);