From 3577e6498a2cc85285ab8e2137270f61718030b7 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 07 Oct 2017 18:55:45 -0400 Subject: mq_window_quit(): New function --- 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); -- cgit v0.9.1