summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/window.c6
-rw-r--r--src/window.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index f39a5cd..463d8ad 100644
--- a/src/window.c
+++ b/src/window.c
@@ -223,6 +223,12 @@ mq_window_new(MqApplication *application, const gchar **uris)
return window;
}
+void
+mq_window_quit(MqWindow *window)
+{
+ mq_application_quit(window->application, GTK_WINDOW(window->window));
+}
+
MqApplication *
mq_window_get_application(MqWindow *window)
{
diff --git a/src/window.h b/src/window.h
index d81601d..1764b3c 100644
--- a/src/window.h
+++ b/src/window.h
@@ -41,6 +41,9 @@ struct MqWindow {
MqWindow *
mq_window_new(MqApplication *application, const gchar **uris);
+void
+mq_window_quit(MqWindow *window);
+
MqApplication *
mq_window_get_application(MqWindow *window);