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 'backend/ev-selection.c') diff --git a/backend/ev-selection.c b/backend/ev-selection.c index f9f73e0..36c32e3 100644 --- a/backend/ev-selection.c +++ b/backend/ev-selection.c @@ -62,8 +62,8 @@ ev_selection_render_selection (EvSelection *selection, GdkPixbuf **pixbuf, EvRectangle *points, EvRectangle *old_points, - guint text, - guint base) + GdkColor *text, + GdkColor *base) { EvSelectionIface *iface = EV_SELECTION_GET_IFACE (selection); -- cgit v0.9.1