Commit 0f61b9bd authored by Claudio Saavedra's avatar Claudio Saavedra

use gtk_box_pack_start() with EphyEmbed

Using gtk_container_add() is a bad idea because default fill/expand
values can change, and they happened to do in GTK+ 3.1.

https://bugzilla.gnome.org/show_bug.cgi?id=652201
parent d3a51491
......@@ -544,7 +544,7 @@ ephy_embed_constructed (GObject *object)
gtk_box_pack_start (GTK_BOX (embed),
GTK_WIDGET (embed->priv->top_widgets_vbox),
FALSE, FALSE, 0);
gtk_container_add (GTK_CONTAINER (embed), paned);
gtk_box_pack_start (GTK_BOX (embed), paned, TRUE, TRUE, 0);
gtk_widget_show (GTK_WIDGET (embed->priv->top_widgets_vbox));
gtk_widget_show (GTK_WIDGET (web_view));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment