diff options
Diffstat (limited to 'capplet/settings/mail-capplet-shell.c')
-rw-r--r-- | capplet/settings/mail-capplet-shell.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/capplet/settings/mail-capplet-shell.c b/capplet/settings/mail-capplet-shell.c index da22b9d0d5..3c5803b89a 100644 --- a/capplet/settings/mail-capplet-shell.c +++ b/capplet/settings/mail-capplet-shell.c @@ -267,7 +267,11 @@ mail_capplet_shell_construct (MailCappletShell *shell, gint socket_id, gboolean gint mail_capplet_shell_toolbar_height (MailCappletShell *shell) { - return shell->priv->top_bar->allocation.height; + GtkAllocation allocation; + + gtk_widget_get_allocation (shell->priv->top_bar, &allocation); + + return allocation.height; } MailCappletShell * |