]> www.fi.muni.cz Git - evince.git/commitdiff
[libview] Update current scroll values when view is realized
authorCarlos Garcia Campos <carlosgc@gnome.org>
Mon, 24 Aug 2009 13:23:15 +0000 (15:23 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 15 Sep 2009 13:59:15 +0000 (15:59 +0200)
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