Skip to content
  • Abdo Roig-Maranges's avatar
    use the new document functions in sc_scroll · e51a3265
    Abdo Roig-Maranges authored
    This way we get rid of page_calculate_offset that involves explicit GTK
    calls. Also, we can make use of page_number_to_position to align page
    and viewport as desired.
    
    I've also tried to make the code for this function a bit more readable.
    e51a3265