diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-27 00:59:47 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-27 00:59:47 (EDT) |
commit | b1f56c59e3619ae32565fff79b2c33adb3dd8332 (patch) | |
tree | d9d59e5fc7c7e6f4c3d05db60b1e4297ee474aba /src/tab.c | |
parent | 6f0dd2492c8399b8c6126c531e7416f1e7c2f0ce (diff) | |
download | marquee-b1f56c59e3619ae32565fff79b2c33adb3dd8332.zip marquee-b1f56c59e3619ae32565fff79b2c33adb3dd8332.tar.gz marquee-b1f56c59e3619ae32565fff79b2c33adb3dd8332.tar.bz2 |
mq_tab_new_root(): Accept and save MqWindow argument
Diffstat (limited to 'src/tab.c')
-rw-r--r-- | src/tab.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |