diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-04 14:25:19 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-04 14:25:19 (EDT) |
commit | cd32a2c19017807bf9877b3b95c1727c3dfe50f7 (patch) | |
tree | c30939fe42923435736895e0373f31bef8a10fa8 | |
parent | 85031d4969d7334f0fc0ddafef83f82b8efa314a (diff) | |
download | marquee-cd32a2c19017807bf9877b3b95c1727c3dfe50f7.zip marquee-cd32a2c19017807bf9877b3b95c1727c3dfe50f7.tar.gz marquee-cd32a2c19017807bf9877b3b95c1727c3dfe50f7.tar.bz2 |
mq_application_get_profiles(): New function
-rw-r--r-- | src/application.c | 6 | ||||
-rw-r--r-- | src/application.h | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/application.c b/src/application.c index 9969fec..946a9e7 100644 --- a/src/application.c +++ b/src/application.c @@ -221,6 +221,12 @@ mq_application_quit(MqApplication *application, GtkWindow *parent) return; } +MqProfiles * +mq_application_get_profiles(MqApplication *application) +{ + return application->profiles; +} + MqConfig * mq_application_get_config(MqApplication *application) { diff --git a/src/application.h b/src/application.h index fb8f399..341bd86 100644 --- a/src/application.h +++ b/src/application.h @@ -28,6 +28,7 @@ typedef struct MqApplication MqApplication; #include <webkit2/webkit2.h> #include "config/config.h" +#include "config/profiles.h" #include "tab-page.h" #include "window.h" @@ -42,6 +43,9 @@ mq_application_main(MqApplication *application); void mq_application_quit(MqApplication *application, GtkWindow *parent); +MqProfiles * +mq_application_get_profiles(MqApplication *application) G_GNUC_PURE; + MqConfig * mq_application_get_config(MqApplication *application) G_GNUC_PURE; |