diff options
author | P. J. McDermott <pj@pehjota.net> | 2018-10-05 08:22:33 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2018-10-05 08:24:50 (EDT) |
commit | db4ff05a5ce8e173ae679678dbdb4263e1d2e5f6 (patch) | |
tree | 91d203a7d5512d6274269d315c87390d183f7a49 | |
parent | 8bc4f1fcfda2f7fd767d7e321025b62b5e9817af (diff) | |
download | marquee-db4ff05a5ce8e173ae679678dbdb4263e1d2e5f6.zip marquee-db4ff05a5ce8e173ae679678dbdb4263e1d2e5f6.tar.gz marquee-db4ff05a5ce8e173ae679678dbdb4263e1d2e5f6.tar.bz2 |
mq_window_get_notebook(): New function
-rw-r--r-- | src/window.c | 6 | ||||
-rw-r--r-- | src/window.h | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index 9ba7f82..6632305 100644 --- a/src/window.c +++ b/src/window.c @@ -356,6 +356,12 @@ mq_window_get_application(MqWindow *window) return window->application; } +MqNotebook * +mq_window_get_notebook(MqWindow *window) +{ + return window->notebook; +} + void mq_window_toggle_fullscreen(MqWindow *window) { diff --git a/src/window.h b/src/window.h index 7db85c3..d0356f0 100644 --- a/src/window.h +++ b/src/window.h @@ -30,6 +30,7 @@ typedef struct _MqWindowClass MqWindowClass; #include "application.h" #include "config/config.h" +#include "notebook.h" #include "tab-page.h" G_BEGIN_DECLS @@ -58,6 +59,9 @@ mq_window_quit(MqWindow *window); MqApplication * mq_window_get_application(MqWindow *window) G_GNUC_PURE; +MqNotebook * +mq_window_get_notebook(MqWindow *window) G_GNUC_PURE; + void mq_window_toggle_fullscreen(MqWindow *window); |