summaryrefslogtreecommitdiffstats
path: root/src/window.h
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-07 18:34:27 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-07 18:34:27 (EDT)
commit851d4f5b36c2ea42d4480842d270e2fbbb024a24 (patch)
treef15ee9140eb8e68895339811a533a4df46631869 /src/window.h
parent10e56d5a693b0f8225ce98391234d2041406205f (diff)
downloadmarquee-851d4f5b36c2ea42d4480842d270e2fbbb024a24.zip
marquee-851d4f5b36c2ea42d4480842d270e2fbbb024a24.tar.gz
marquee-851d4f5b36c2ea42d4480842d270e2fbbb024a24.tar.bz2
mq_window_get_num_tabs(): New function
And use in close confirmation dialog creation.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index 2cbdb1d..d81601d 100644
--- a/src/window.h
+++ b/src/window.h
@@ -54,6 +54,9 @@ mq_window_set_current_tab(MqWindow *window, guint tab);
guint
mq_window_get_current_tab(MqWindow *window);
+guint
+mq_window_get_num_tabs(MqWindow *window);
+
void
mq_window_update_tab_title(MqWindow *window, guint position,
const gchar *title);