X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=backend%2Fev-document-misc.c;h=fd6f4493904059138f8fa14e28f86b7f8ab1adbf;hb=e637fd672cb1fa494600c66dc7b49a7f77c78aa8;hp=c1fb32c533de4dc87937094784c365e9648a2f3d;hpb=9a1a3b315f05568f6e28f64f685338dc120d5491;p=evince.git diff --git a/backend/ev-document-misc.c b/backend/ev-document-misc.c index c1fb32c5..fd6f4493 100644 --- a/backend/ev-document-misc.c +++ b/backend/ev-document-misc.c @@ -105,10 +105,12 @@ void ev_document_misc_paint_one_page (GdkDrawable *drawable, GtkWidget *widget, GdkRectangle *area, - GtkBorder *border) + GtkBorder *border, + gboolean highlight) { gdk_draw_rectangle (drawable, - widget->style->black_gc, + highlight ? + widget->style->text_gc[widget->state] : widget->style->dark_gc[widget->state], TRUE, area->x, area->y,