]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-view.c
[libview] Update current scroll values when view is realized
[evince.git] / libview / ev-view.c
index 50e4f7222517251067313ddd9446cbf0bd6803e4..830530846849f61cc8f5750e67b014aa82b9c279 100644 (file)
@@ -2901,6 +2901,8 @@ ev_view_realize (GtkWidget *widget)
                gdk_window_set_background (view->layout.bin_window, &widget->style->black);
        else
                gdk_window_set_background (view->layout.bin_window, &widget->style->mid [GTK_STATE_NORMAL]);
+
+       on_adjustment_value_changed (NULL, view);
 }
 
 static gboolean