summaryrefslogtreecommitdiffstats
path: root/src/tab.c
diff options
context:
space:
mode:
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);