summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tab.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/tab.c b/src/tab.c
index 88e0921..2c1ba65 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -95,13 +95,11 @@ mq_tab_new(gchar *uri)
G_CALLBACK(title_cb), tab);
mq_tab_chrome_set_web_view(tab->chrome, tab->web_view);
- tab->container = gtk_grid_new();
- gtk_grid_attach(GTK_GRID(tab->container),
- mq_tab_chrome_get_container(tab->chrome),
- 0, 0, 1, 1);
- gtk_grid_attach(GTK_GRID(tab->container),
- mq_tab_body_get_container(tab->body),
- 0, 1, 1, 1);
+ tab->container = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
+ gtk_box_pack_start(GTK_BOX(tab->container),
+ mq_tab_chrome_get_container(tab->chrome), FALSE, FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(tab->container),
+ mq_tab_body_get_container(tab->body), TRUE, TRUE, 0);
return tab;
}