diff --git a/src/process-monitor.c b/src/process-monitor.c index 7c8af0c..d0e8d7e 100644 --- a/src/process-monitor.c +++ b/src/process-monitor.c @@ -223,10 +223,10 @@ xtm_process_monitor_paint (XtmProcessMonitor *monitor, cairo_t *cr) #else width = GTK_WIDGET (monitor)->allocation.width; height = GTK_WIDGET (monitor)->allocation.height; +#endif /* Don't draw anything if the graph is too small */ if (height < 3) return; -#endif /* Paint the graph's background box */ cairo_rectangle (cr, 0.0, 0.0, width, height);