From 60e8a6820d4983631612bd49742f94fd815095fb Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 17 Sep 2017 02:06:31 -0400 Subject: mq_tab_new(): Accept notebook instead of label --- (limited to 'src/window.c') diff --git a/src/window.c b/src/window.c index 275829e..609c32b 100644 --- a/src/window.c +++ b/src/window.c @@ -45,7 +45,7 @@ add_tab(MqWindow *window, gchar *uri, gint position) 1, 0, 1, 1); gtk_widget_show_all(tab_label); - tab = mq_tab_new(uri, tab_label); + tab = mq_tab_new(uri, GTK_NOTEBOOK(window->notebook)); tab_widget = mq_tab_get_container(tab); position = gtk_notebook_insert_page(GTK_NOTEBOOK(window->notebook), -- cgit v0.9.1