summaryrefslogtreecommitdiffstats
path: root/src/tab.c
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-24 13:15:10 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-24 13:15:10 (EDT)
commit8ec488c38818d6159f88ddf27a71212a69cb926c (patch)
treec043e4903e3aa63f544029fe1a6f71b423ea6226 /src/tab.c
parent42bb81c25713086d541ee999b8b659c324542d6b (diff)
downloadmarquee-8ec488c38818d6159f88ddf27a71212a69cb926c.zip
marquee-8ec488c38818d6159f88ddf27a71212a69cb926c.tar.gz
marquee-8ec488c38818d6159f88ddf27a71212a69cb926c.tar.bz2
MqTab: Add tree structure members
Diffstat (limited to 'src/tab.c')
-rw-r--r--src/tab.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tab.c b/src/tab.c
index 3d8f159..9d17212 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -234,6 +234,11 @@ mq_tab_new(MqApplication *application, gchar *uri)
MqTab *tab;
tab = malloc(sizeof(*tab));
+ tab->parent = NULL;
+ tab->prev = NULL;
+ tab->next = NULL;
+ tab->first_child = tab->last_child = NULL;
+ tab->tree_size = 1;
tab->application = application;
mq_tab_populate_tab(tab);