diff options
author | Burt P <pburt0@gmail.com> | 2017-07-31 00:25:56 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2017-08-04 09:22:06 -0700 |
commit | 19abe537d0d7f68c488e0562b98de9b80c53a9ba (patch) | |
tree | 3f0273c0553c39bf673fb0f6577b492b9c0474db /modules | |
parent | ce086b4cc35c3dff976cb3835200b31f0a639a56 (diff) |
benchmarks: hide gui bench for gtk3+
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/benchmark.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/benchmark.c b/modules/benchmark.c index d24ecb41..a32a8e4d 100644 --- a/modules/benchmark.c +++ b/modules/benchmark.c @@ -56,7 +56,9 @@ static ModuleEntry entries[] = { {N_("CPU Zlib"), "file-roller.png", callback_zlib, scan_zlib, MODULE_FLAG_NONE}, {N_("FPU FFT"), "fft.png", callback_fft, scan_fft, MODULE_FLAG_NONE}, {N_("FPU Raytracing"), "raytrace.png", callback_raytr, scan_raytr, MODULE_FLAG_NONE}, +#if !GTK_CHECK_VERSION(3,0,0) {N_("GPU Drawing"), "module.png", callback_gui, scan_gui, MODULE_FLAG_NO_REMOTE}, +#endif {NULL} }; |