Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/ev-poppler.cc
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2005-08-06 18:14:24 (GMT)
committer Kristian Høgsberg <krh@src.gnome.org>2005-08-06 18:14:24 (GMT)
commit3f175f30d0eb1df7df8894c7ba0949e4cbd23e8f (patch)
treeaf5543846e9ba6b5a9ed52e590173334fc8f5c74 /pdf/ev-poppler.cc
parent0bd2e2a6aa946088aebf75e899b1b209e6c64b40 (diff)
Change selection color on focus in and focus out events. Also, poppler now
2005-08-06 Kristian Høgsberg <krh@redhat.com> * 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.
Diffstat (limited to 'pdf/ev-poppler.cc')
-rw-r--r--pdf/ev-poppler.cc4
1 files changed, 2 insertions, 2 deletions
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;