summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/application.c3
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;