also adjust the horizontal position in sc_bisect

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Abdo Roig-Maranges 2013-04-02 21:31:32 +02:00 committed by Sebastian Ramacher
parent f8b24b0331
commit 5563da4d91

View file

@ -874,6 +874,11 @@ sc_bisect(girara_session_t* session, girara_argument_t* argument,
}
break;
}
/* adjust horizontal position */
GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(session->gtk.view));
cb_view_hadjustment_changed(hadjustment, zathura);
return false;
}