aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index d071e9bab6..4ca2dd624b 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -2706,8 +2706,8 @@ init_all (EContactEditor *editor)
/* with so many scrolled windows, we need to
do some manual sizing */
- gtk_widget_size_request (
- e_builder_get_widget (editor->builder, "vbox-size-leader"), &tab_req);
+ gtk_widget_get_preferred_size (
+ e_builder_get_widget (editor->builder, "vbox-size-leader"), &tab_req, NULL);
gtk_widget_set_size_request (
e_builder_get_widget (editor->builder, "scrolledwindow-size-leader"),
tab_req.width, tab_req.height + 8);