summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-04 14:27:43 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-04 14:27:43 (EDT)
commitb3efcf0c87d8bbbffb53d2c5ec1cb1756cae011d (patch)
tree17771844354da8f0af833b952c8b04e40c5fa318
parentcd32a2c19017807bf9877b3b95c1727c3dfe50f7 (diff)
downloadmarquee-b3efcf0c87d8bbbffb53d2c5ec1cb1756cae011d.zip
marquee-b3efcf0c87d8bbbffb53d2c5ec1cb1756cae011d.tar.gz
marquee-b3efcf0c87d8bbbffb53d2c5ec1cb1756cae011d.tar.bz2
mq_application_new(): Drop private parameter
Private browsing will be configured with a profile.
-rw-r--r--src/application.c2
-rw-r--r--src/application.h2
-rw-r--r--src/main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/application.c b/src/application.c
index 946a9e7..023c650 100644
--- a/src/application.c
+++ b/src/application.c
@@ -80,7 +80,7 @@ download_started_cb(WebKitWebContext G_GNUC_UNUSED *context,
}
MqApplication *
-mq_application_new(const gchar *profile, gboolean G_GNUC_UNUSED private)
+mq_application_new(const gchar *profile)
{
MqApplication *application;
diff --git a/src/application.h b/src/application.h
index 341bd86..d758f2a 100644
--- a/src/application.h
+++ b/src/application.h
@@ -35,7 +35,7 @@ typedef struct MqApplication MqApplication;
G_BEGIN_DECLS
MqApplication *
-mq_application_new(const gchar *profile, gboolean private);
+mq_application_new(const gchar *profile);
int
mq_application_main(MqApplication *application);
diff --git a/src/main.c b/src/main.c
index 3b1a34c..43fd3d7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -85,7 +85,7 @@ main(int argc, char *argv[])
g_set_application_name(PACKAGE_NAME);
- application = mq_application_new(opt_profile, opt_private);
+ application = mq_application_new(opt_profile);
mq_application_add_window(application, opt_uris);
return mq_application_main(application);