From c5ec2c6c37ca5a9548957312d08edc493d512411 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 22 Sep 2017 01:32:12 -0400 Subject: MqTab: Convert tab page container from grid to box --- (limited to 'src') 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; } -- cgit v0.9.1