From: Kristian Høgsberg Date: Thu, 30 Jun 2005 22:09:18 +0000 (+0000) Subject: Fix event->y + view->scroll_x typo. X-Git-Tag: EVINCE_0_3_3~190 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=695641059974320c2ae485b81710a750686cff6a;p=evince.git Fix event->y + view->scroll_x typo. 2005-06-30 Kristian Høgsberg * shell/ev-view.c (ev_view_button_press_event): Fix event->y + view->scroll_x typo. --- diff --git a/ChangeLog b/ChangeLog index f050407f..a63cb65e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-06-30 Kristian Høgsberg + + * shell/ev-view.c (ev_view_button_press_event): Fix + event->y + view->scroll_x typo. + 2005-06-30 Kristian Høgsberg * pdf/ev-poppler.cc: Adjust to poppler API changes; use a diff --git a/shell/ev-view.c b/shell/ev-view.c index c9eb4d2e..91642672 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -1337,7 +1337,7 @@ ev_view_button_press_event (GtkWidget *widget, } view->selection_info.start.x = event->x + view->scroll_x; - view->selection_info.start.y = event->y + view->scroll_x; + view->selection_info.start.y = event->y + view->scroll_y; return TRUE; case 2: /* use root coordinates as reference point because