Commit a3da206d authored by Morten Welinder's avatar Morten Welinder

stf: fix left-over red line.

parent 7f42b5c3
......@@ -547,10 +547,15 @@ cb_treeview_draw (GtkWidget *widget,
int ruler_x = pagedata->fixed.ruler_x;
int height;
GtkAllocation a;
GdkWindow *bin_window;
if (ruler_x < 0)
return FALSE;
bin_window = gtk_tree_view_get_bin_window (GTK_TREE_VIEW (widget));
if (!gtk_cairo_should_draw_window (cr, bin_window))
return FALSE;
gtk_widget_get_allocation (widget, &a);
height = a.height;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment