From 2981b33230fb381ad7bc5d4910bbd3338fd91aa8 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 29 Oct 2017 18:25:29 -0400 Subject: mq_application_new(): Make profile parameter const --- 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); -- cgit v0.9.1