]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-view-accessible.c
Use GtkScrollType instead of EvScrollType.
[evince.git] / shell / ev-view-accessible.c
index 369516ff3518479fd31ffe6a90940bda5ebb0199..3bf28d9b9c8c291b7ab3cb03d6e955b338ce50e0 100644 (file)
@@ -18,6 +18,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#include <config.h>
 #include <glib/gi18n.h>
 
 #include "ev-view-accessible.h"
@@ -53,7 +54,7 @@ typedef struct {
        /* Action */
        gchar *action_descriptions[LAST_ACTION];
        guint action_idle_handler;  
-       EvScrollType idle_scroll;        
+       GtkScrollType idle_scroll;       
 } EvViewAccessiblePriv;
 
 typedef GtkAccessibleClass EvViewAccessibleClass;
@@ -389,10 +390,10 @@ ev_view_accessible_action_do_action (AtkAction *action,
        
        switch (i) {
                case ACTION_SCROLL_UP:
-                       priv->idle_scroll = EV_SCROLL_PAGE_BACKWARD;
+                       priv->idle_scroll = GTK_SCROLL_PAGE_BACKWARD;
                        break;
                case ACTION_SCROLL_DOWN:
-                       priv->idle_scroll = EV_SCROLL_PAGE_FORWARD;
+                       priv->idle_scroll = GTK_SCROLL_PAGE_FORWARD;
                        break;
                default:
                        return FALSE;