diff options
author | Timm Bäder <mail@baedert.org> | 2017-04-21 22:34:36 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2017-04-25 20:30:37 +0200 |
commit | c92b7d4224b9cef1d08373fcc28f7fbd96c64e6d (patch) | |
tree | 6eaa81528f6ec5152eccc475df7b4d8a769f3ea6 /gtk/gtkmenutoolbutton.c | |
parent | 5729ea7744c2a41ae8fb833db6690a6aa5ad7a84 (diff) | |
download | gtk+-c92b7d4224b9cef1d08373fcc28f7fbd96c64e6d.tar.gz |
box: Remove fill child property
GtkWidget:halign and GtkWidget:valign are sufficient
Diffstat (limited to 'gtk/gtkmenutoolbutton.c')
-rw-r--r-- | gtk/gtkmenutoolbutton.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/gtkmenutoolbutton.c b/gtk/gtkmenutoolbutton.c index 05509ff5a9..d34d02d229 100644 --- a/gtk/gtkmenutoolbutton.c +++ b/gtk/gtkmenutoolbutton.c @@ -140,8 +140,7 @@ gtk_menu_tool_button_construct_contents (GtkMenuToolButton *button) g_object_ref (priv->arrow_button); gtk_container_remove (GTK_CONTAINER (parent), priv->arrow_button); - gtk_box_pack_end (GTK_BOX (box), priv->arrow_button, - FALSE); + gtk_box_pack_end (GTK_BOX (box), priv->arrow_button); g_object_unref (priv->arrow_button); } @@ -285,8 +284,7 @@ gtk_menu_tool_button_init (GtkMenuToolButton *button) g_object_unref (real_button); arrow_button = gtk_menu_button_new (); - gtk_box_pack_end (GTK_BOX (box), arrow_button, - FALSE); + gtk_box_pack_end (GTK_BOX (box), arrow_button); /* the arrow button is insentive until we set a menu */ gtk_widget_set_sensitive (arrow_button, FALSE); |