aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2011-06-09 22:25:08 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2011-06-09 23:11:19 +0800
commit0f61b9bd7ab89b70f1323f08b4f26a27b005d62a (patch)
tree58d980246274e537cd00b0318d6c7a6ff2d9fa10 /embed
parentd3a51491dd8a2e658ac52e951049a65c0ce383ac (diff)
downloadgsoc2013-epiphany-0f61b9bd7ab89b70f1323f08b4f26a27b005d62a.tar
gsoc2013-epiphany-0f61b9bd7ab89b70f1323f08b4f26a27b005d62a.tar.gz
gsoc2013-epiphany-0f61b9bd7ab89b70f1323f08b4f26a27b005d62a.tar.bz2
gsoc2013-epiphany-0f61b9bd7ab89b70f1323f08b4f26a27b005d62a.tar.lz
gsoc2013-epiphany-0f61b9bd7ab89b70f1323f08b4f26a27b005d62a.tar.xz
gsoc2013-epiphany-0f61b9bd7ab89b70f1323f08b4f26a27b005d62a.tar.zst
gsoc2013-epiphany-0f61b9bd7ab89b70f1323f08b4f26a27b005d62a.zip
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
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 4a3739faf..fa5076aa8 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -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));