From b1f56c59e3619ae32565fff79b2c33adb3dd8332 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 27 Sep 2017 00:59:47 -0400 Subject: mq_tab_new_root(): Accept and save MqWindow argument --- (limited to 'src/tab.c') diff --git a/src/tab.c b/src/tab.c index 30d975b..c11ff1b 100644 --- a/src/tab.c +++ b/src/tab.c @@ -359,7 +359,7 @@ mq_tab_new_relative(MqWindow *window, gchar *uri, MqTab *source) } MqTab * -mq_tab_new_root(void) +mq_tab_new_root(MqWindow *window) { MqTab *tab; @@ -370,6 +370,7 @@ mq_tab_new_root(void) tab->first_child = tab->last_child = NULL; tab->position = 0; tab->tree_size = 1; + tab->window = window; return tab; } -- cgit v0.9.1