diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/window.c | 6 | ||||
-rw-r--r-- | src/window.h | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index 0f12a89..5e246c6 100644 --- a/src/window.c +++ b/src/window.c @@ -96,3 +96,9 @@ mq_window_new(MqApplication *application, gchar **uris) return window; } + +MqApplication * +mq_window_get_application(MqWindow *window) +{ + return window->application; +} diff --git a/src/window.h b/src/window.h index 9086d99..5ec8ee8 100644 --- a/src/window.h +++ b/src/window.h @@ -39,4 +39,7 @@ struct MqWindow { MqWindow * mq_window_new(MqApplication *application, gchar **uris); +MqApplication * +mq_window_get_application(MqWindow *window); + #endif |