diff options
-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); |