From 7eac0a3b7776ca1746e216ccbdbbb936603bb1df Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 25 Sep 2017 00:19:32 -0400 Subject: mq_window_new(): Add tabs without adding to notebook mq_window_insert_tab(), which adds a tab to the notebook, is now called by mq_tab_new() and mq_tab_new_relative(). --- (limited to 'src/window.c') diff --git a/src/window.c b/src/window.c index 1f16ed8..8f81660 100644 --- a/src/window.c +++ b/src/window.c @@ -84,10 +84,10 @@ mq_window_new(MqApplication *application, gchar **uris) if (uris && uris[0]) { for (i = 0; uris && uris[i]; ++i) { - add_tab(application, window, uris[i], -1); + mq_tab_new_relative(window, uris[i], window->root_tab); } } else { - add_tab(application, window, NULL, -1); + mq_tab_new_relative(window, NULL, window->root_tab); } gtk_widget_show_all(window->window); -- cgit v0.9.1