diff options
-rw-r--r-- | src/tab-body.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tab-body.c b/src/tab-body.c index ca34a7c..c41dfb4 100644 --- a/src/tab-body.c +++ b/src/tab-body.c @@ -35,13 +35,11 @@ mq_tab_body_new(gchar *uri) body->container = gtk_paned_new(GTK_ORIENTATION_HORIZONTAL); - gtk_paned_pack1(GTK_PANED(body->container), gtk_label_new("Sidebar"), - FALSE, TRUE); + gtk_paned_add1(GTK_PANED(body->container), gtk_label_new("Sidebar")); body->web_view = WEBKIT_WEB_VIEW(webkit_web_view_new()); webkit_web_view_load_uri(body->web_view, uri); - gtk_paned_pack2(GTK_PANED(body->container), GTK_WIDGET(body->web_view), - TRUE, TRUE); + gtk_paned_add2(GTK_PANED(body->container), GTK_WIDGET(body->web_view)); gtk_paned_set_position(GTK_PANED(body->container), 100); gtk_widget_set_vexpand(body->container, TRUE); |