summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-29 18:23:58 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-29 18:23:58 (EDT)
commit04b074517fbad81f111982c3252b232956de579d (patch)
tree5c3def360f8fb39cebb65136b625c6bd4baef5d8 /src
parent16d3e10250508a0b21cce96c8d00671ecd6aaebd (diff)
downloadmarquee-04b074517fbad81f111982c3252b232956de579d.zip
marquee-04b074517fbad81f111982c3252b232956de579d.tar.gz
marquee-04b074517fbad81f111982c3252b232956de579d.tar.bz2
mq_application_new(): Pass profile argument to mq_config_new()
Diffstat (limited to 'src')
-rw-r--r--src/application.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/application.c b/src/application.c
index 476ad31..083c1aa 100644
--- a/src/application.c
+++ b/src/application.c
@@ -74,12 +74,12 @@ download_started_cb(WebKitWebContext G_GNUC_UNUSED *context,
}
MqApplication *
-mq_application_new(gchar G_GNUC_UNUSED *profile, gboolean G_GNUC_UNUSED private)
+mq_application_new(gchar *profile, gboolean G_GNUC_UNUSED private)
{
MqApplication *application;
application = malloc(sizeof(*application));
- application->config = mq_config_new("default");
+ application->config = mq_config_new(profile);
mq_config_load(application->config);
application->windows = NULL;
application->marquee_mode = FALSE;