From 6bd1c6833a2c51898ac45865767dd01ba66a95c5 Mon Sep 17 00:00:00 2001 From: Dan Vrátil Date: Wed, 28 Mar 2012 18:37:35 +0200 Subject: WebKit port - port widgets --- widgets/misc/e-preview-pane.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'widgets/misc/e-preview-pane.c') diff --git a/widgets/misc/e-preview-pane.c b/widgets/misc/e-preview-pane.c index a94b3139b9..92644ec883 100644 --- a/widgets/misc/e-preview-pane.c +++ b/widgets/misc/e-preview-pane.c @@ -157,14 +157,12 @@ preview_pane_constructed (GObject *object) /* EAlertBar controls its own visibility. */ widget = gtk_scrolled_window_new (NULL, NULL); - gtk_scrolled_window_set_policy ( - GTK_SCROLLED_WINDOW (widget), - GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type ( GTK_SCROLLED_WINDOW (widget), GTK_SHADOW_IN); gtk_box_pack_start (GTK_BOX (object), widget, TRUE, TRUE, 0); gtk_container_add (GTK_CONTAINER (widget), priv->web_view); gtk_widget_show (widget); + gtk_widget_show (priv->web_view); widget = e_search_bar_new (E_WEB_VIEW (priv->web_view)); gtk_box_pack_start (GTK_BOX (object), widget, FALSE, FALSE, 0); -- cgit