]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-view.c
[totem-screensaver] Adapt to GDBus API change
[evince.git] / libview / ev-view.c
index c26aabc5f86cc0018feeb24e648d6b271d5b52ca..ac14b699c7404724266e220a7515b2fd4ac20775 100644 (file)
@@ -730,8 +730,6 @@ view_update_range_and_current_page (EvView *view)
        ev_pixbuf_cache_set_page_range (view->pixbuf_cache,
                                        view->start_page,
                                        view->end_page,
-                                       view->rotation,
-                                       view->scale,
                                        view->selection_info.selections);
 
        if (ev_pixbuf_cache_get_surface (view->pixbuf_cache, view->current_page))
@@ -3473,7 +3471,7 @@ ev_view_drag_motion (GtkWidget      *widget,
        if (gtk_drag_get_source_widget (context) == widget)
                gdk_drag_status (context, 0, time);
        else
-               gdk_drag_status (context, context->suggested_action, time);
+               gdk_drag_status (context, gdk_drag_context_get_suggested_action (context), time);
        
        return TRUE;
 }