diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-23 06:19:06 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-23 06:19:06 (EDT) |
commit | 258ec1ac2507bf242c437dcc33c1acac58324894 (patch) | |
tree | 3622dca76320d0f743cd50c8a7255baf7ae03ffc /src | |
parent | 7778c11d8c753e7f1db7ab4402c6fbb8b5635545 (diff) | |
download | marquee-258ec1ac2507bf242c437dcc33c1acac58324894.zip marquee-258ec1ac2507bf242c437dcc33c1acac58324894.tar.gz marquee-258ec1ac2507bf242c437dcc33c1acac58324894.tar.bz2 |
mq_window_get_num_tabs(): Use mq_notebook_get_n_pages()
Diffstat (limited to 'src')
-rw-r--r-- | src/window.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index a1acd33..7432d63 100644 --- a/src/window.c +++ b/src/window.c @@ -354,8 +354,7 @@ mq_window_toggle_fullscreen(MqWindow *window) guint mq_window_get_num_tabs(MqWindow *window) { - /* TODO: Use MqNotebook function. */ - return gtk_notebook_get_n_pages(GTK_NOTEBOOK(window->notebook)); + return mq_notebook_get_n_pages(MQ_NOTEBOOK(window->notebook)); } void |