]> www.fi.muni.cz Git - evince.git/commitdiff
Fix event->y + view->scroll_x typo.
authorKristian Høgsberg <krh@redhat.com>
Thu, 30 Jun 2005 22:09:18 +0000 (22:09 +0000)
committerKristian Høgsberg <krh@src.gnome.org>
Thu, 30 Jun 2005 22:09:18 +0000 (22:09 +0000)
2005-06-30  Kristian Høgsberg  <krh@redhat.com>

        * shell/ev-view.c (ev_view_button_press_event): Fix
        event->y + view->scroll_x typo.

ChangeLog
shell/ev-view.c

index f050407f22215e83e000321f8044fcd5c22f980c..a63cb65e2a568c929bef9cbd8d9077fb3dac2d93 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-06-30  Kristian Høgsberg  <krh@redhat.com>
+
+       * shell/ev-view.c (ev_view_button_press_event): Fix
+       event->y + view->scroll_x typo.
+
 2005-06-30  Kristian Høgsberg  <krh@redhat.com>
 
        * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
index c9eb4d2ee0233277bc778f4625e4d396e6e4cf42..9164267203113fedf353f8cbea1cec23637dd430 100644 (file)
@@ -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