diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-04 14:21:45 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-04 14:21:45 (EDT) |
commit | 0ffa947f9f9f3820a7e9c7eb38d4a5efbd60993d (patch) | |
tree | a2357a08498cc65469b235c1c8feb6797dac237f /src | |
parent | 5c12e17b6ee2621f890c907611ca150837c76500 (diff) | |
download | marquee-0ffa947f9f9f3820a7e9c7eb38d4a5efbd60993d.zip marquee-0ffa947f9f9f3820a7e9c7eb38d4a5efbd60993d.tar.gz marquee-0ffa947f9f9f3820a7e9c7eb38d4a5efbd60993d.tar.bz2 |
MqApplication: Load profiles
Diffstat (limited to 'src')
-rw-r--r-- | src/application.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/application.c b/src/application.c index 8d7b1d2..9969fec 100644 --- a/src/application.c +++ b/src/application.c @@ -31,6 +31,7 @@ #include <webkit2/webkit2.h> #include "config/config.h" +#include "config/profiles.h" #include "download.h" #include "schemes/about.h" #include "schemes/view-source.h" @@ -40,6 +41,7 @@ struct MqApplication { GList *windows; GHashTable *tabs; gint64 last_tab_id; + MqProfiles *profiles; MqConfig *config; gboolean marquee_mode; gchar *resources_dir; @@ -83,6 +85,7 @@ mq_application_new(const gchar *profile, gboolean G_GNUC_UNUSED private) MqApplication *application; application = malloc(sizeof(*application)); + application->profiles = mq_profiles_new(); application->config = mq_config_new(profile); mq_config_load(application->config); application->windows = NULL; |