aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index a29031d84b..eaf1bae3a6 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1106,7 +1106,7 @@ save_cursor_pos (FolderBrowser *fb)
gconf = gconf_client_get_default ();
paned_size = gconf_client_get_int (gconf, "/apps/evolution/mail/display/paned_size", NULL);
- adj = e_scroll_frame_get_vadjustment (E_SCROLL_FRAME (fb->message_list));
+ adj = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (fb->message_list));
y += adj->value - ((paned_size - height) / 2);
return y;
@@ -1120,7 +1120,7 @@ set_cursor_pos (FolderBrowser *fb, int y)
if (y == -1)
return;
- adj = e_scroll_frame_get_vadjustment (E_SCROLL_FRAME (fb->message_list));
+ adj = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (fb->message_list));
gtk_adjustment_set_value (adj, (gfloat)y);
}