From 3f175f30d0eb1df7df8894c7ba0949e4cbd23e8f Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Sat, 06 Aug 2005 18:14:24 +0000 Subject: Change selection color on focus in and focus out events. Also, poppler now 2005-08-06 Kristian Høgsberg * backend/ev-selection.c: (ev_selection_render_selection): * backend/ev-selection.h: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_render_new): * shell/ev-jobs.h: * shell/ev-pixbuf-cache.c: (get_selection_colors), (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf): * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out), (ev_view_class_init): Change selection color on focus in and focus out events. Also, poppler now uses GdkColor for specifying the selection colors, so drop some awkward conversion code. --- (limited to 'pdf/ev-poppler.cc') diff --git a/pdf/ev-poppler.cc b/pdf/ev-poppler.cc index b4a6799..610f598 100644 --- a/pdf/ev-poppler.cc +++ b/pdf/ev-poppler.cc @@ -1182,8 +1182,8 @@ pdf_selection_render_selection (EvSelection *selection, GdkPixbuf **pixbuf, EvRectangle *points, EvRectangle *old_points, - guint text, - guint base) + GdkColor *text, + GdkColor *base) { PdfDocument *pdf_document; double width_points, height_points; -- cgit v0.9.1