summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
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);