summaryrefslogtreecommitdiffstats
path: root/src/notebook.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/notebook.c')
-rw-r--r--src/notebook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notebook.c b/src/notebook.c
index f5572b6..118a42e 100644
--- a/src/notebook.c
+++ b/src/notebook.c
@@ -250,7 +250,7 @@ mq_notebook_insert_child(MqNotebook *notebook, const gchar *uri,
gint
mq_notebook_get_n_pages(MqNotebook *notebook)
{
- return mq_tree_size(MQ_TREE(notebook->tree) - 1);
+ return mq_tree_size(MQ_TREE(notebook->tree)) - 1;
}
void