summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-29 18:25:29 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-29 18:26:55 (EDT)
commit2981b33230fb381ad7bc5d4910bbd3338fd91aa8 (patch)
tree77d49cbd2799b5090fe31db140b4e2ebd81864db /src
parentf878fe100d58404b2825051672d2d0e39a6714d4 (diff)
downloadmarquee-2981b33230fb381ad7bc5d4910bbd3338fd91aa8.zip
marquee-2981b33230fb381ad7bc5d4910bbd3338fd91aa8.tar.gz
marquee-2981b33230fb381ad7bc5d4910bbd3338fd91aa8.tar.bz2
mq_application_new(): Make profile parameter const
Diffstat (limited to 'src')
-rw-r--r--src/application.c2
-rw-r--r--src/application.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/application.c b/src/application.c
index 083c1aa..98f3c98 100644
--- a/src/application.c
+++ b/src/application.c
@@ -74,7 +74,7 @@ download_started_cb(WebKitWebContext G_GNUC_UNUSED *context,
}
MqApplication *
-mq_application_new(gchar *profile, gboolean G_GNUC_UNUSED private)
+mq_application_new(const gchar *profile, gboolean G_GNUC_UNUSED private)
{
MqApplication *application;
diff --git a/src/application.h b/src/application.h
index a7c8d39..ddaa535 100644
--- a/src/application.h
+++ b/src/application.h
@@ -31,7 +31,7 @@ typedef struct MqApplication MqApplication;
#include "window.h"
MqApplication *
-mq_application_new(gchar *profile, gboolean private);
+mq_application_new(const gchar *profile, gboolean private);
int
mq_application_main(MqApplication *application);