Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2008-09-07 17:20:27 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2008-09-07 17:20:27 (GMT)
commit5f7d46028f2345a1e4d1690fc8d2228fc1a9c506 (patch)
tree46e31ffa3c5f0abc06121cc22fa3f56ecedf2974 /shell/ev-window.c
parentcfe4ba6711c12ea9ad1ddba4cbd60e964715170b (diff)
Use GtkScrollType instead of EvScrollType.
2008-09-07 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view-private.h: * shell/ev-view.[ch]: (add_scroll_binding_keypad), (ev_view_scroll), (ev_view_class_init): * shell/ev-view-accessible.c: (ev_view_accessible_action_do_action): * shell/ev-window.c: (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward): Use GtkScrollType instead of EvScrollType. svn path=/trunk/; revision=3162
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index df3c17c..9f27479 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -2624,13 +2624,13 @@ ev_window_cmd_focus_page_selector (GtkAction *act, EvWindow *window)
static void
ev_window_cmd_scroll_forward (GtkAction *action, EvWindow *window)
{
- ev_view_scroll (EV_VIEW (window->priv->view), EV_SCROLL_PAGE_FORWARD, FALSE);
+ ev_view_scroll (EV_VIEW (window->priv->view), GTK_SCROLL_PAGE_FORWARD, FALSE);
}
static void
ev_window_cmd_scroll_backward (GtkAction *action, EvWindow *window)
{
- ev_view_scroll (EV_VIEW (window->priv->view), EV_SCROLL_PAGE_BACKWARD, FALSE);
+ ev_view_scroll (EV_VIEW (window->priv->view), GTK_SCROLL_PAGE_BACKWARD, FALSE);
}
static void
@@ -4143,7 +4143,9 @@ find_bar_visibility_changed_cb (EggFindBar *find_bar,
}
static void
-find_bar_scroll(EggFindBar *find_bar, GtkScrollType scroll, EvWindow* ev_window)
+find_bar_scroll (EggFindBar *find_bar,
+ GtkScrollType scroll,
+ EvWindow *ev_window)
{
ev_view_scroll (EV_VIEW (ev_window->priv->view), scroll, FALSE);
}