From b3efcf0c87d8bbbffb53d2c5ec1cb1756cae011d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 04 Nov 2017 14:27:43 -0400 Subject: mq_application_new(): Drop private parameter Private browsing will be configured with a profile. --- 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); -- cgit v0.9.1