diff options
Diffstat (limited to 'hardinfo2/guibench.c')
-rw-r--r-- | hardinfo2/guibench.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hardinfo2/guibench.c b/hardinfo2/guibench.c index bddc954f..b9573278 100644 --- a/hardinfo2/guibench.c +++ b/hardinfo2/guibench.c @@ -88,6 +88,8 @@ static gboolean keypress_event(GtkWidget *widget, GdkEventKey *event, gpointer u state = 0; } + + return FALSE; } static double test_icons(GtkWindow *window) @@ -112,7 +114,7 @@ static double test_icons(GtkWindow *window) g_timer_start(timer); for (icons = N_ITERATIONS; icons >= 0; icons--) { - int x, y, size; + int x, y; x = g_rand_int_range(rand, 0, 800); y = g_rand_int_range(rand, 0, 600); |