summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/application.c25
-rw-r--r--src/application.h3
2 files changed, 6 insertions, 22 deletions
diff --git a/src/application.c b/src/application.c
index dbd148c..8c189de 100644
--- a/src/application.c
+++ b/src/application.c
@@ -34,17 +34,15 @@
#include "config.h"
#include "download.h"
#include "view-source.h"
-#include "web-settings.h"
#include "window.h"
struct MqApplication {
- GList *windows;
- GHashTable *tabs;
- gint64 last_tab_id;
- MqConfig *config;
- WebKitSettings *settings;
- gboolean marquee_mode;
- gchar *resources_dir;
+ GList *windows;
+ GHashTable *tabs;
+ gint64 last_tab_id;
+ MqConfig *config;
+ gboolean marquee_mode;
+ gchar *resources_dir;
};
static void
@@ -52,8 +50,6 @@ set_webkit_settings(MqApplication *application)
{
WebKitWebContext *web_context;
- application->settings = webkit_settings_new();
-
web_context = webkit_web_context_get_default();
webkit_web_context_set_favicon_database_directory(web_context, NULL);
webkit_web_context_set_process_model(web_context,
@@ -72,9 +68,6 @@ set_webkit_settings(MqApplication *application)
webkit_security_manager_register_uri_scheme_as_local(
webkit_web_context_get_security_manager(web_context),
"view-source");
-
- mq_web_settings_connect(application->config, application->settings,
- web_context);
}
static void
@@ -231,12 +224,6 @@ mq_application_get_config(MqApplication *application)
return application->config;
}
-WebKitSettings *
-mq_application_get_webkit_settings(MqApplication *application)
-{
- return application->settings;
-}
-
MqWindow *
mq_application_add_window(MqApplication *application, const gchar **uris)
{
diff --git a/src/application.h b/src/application.h
index b278a7f..506d1f5 100644
--- a/src/application.h
+++ b/src/application.h
@@ -43,9 +43,6 @@ mq_application_quit(MqApplication *application, GtkWindow *parent);
MqConfig *
mq_application_get_config(MqApplication *application);
-WebKitSettings *
-mq_application_get_webkit_settings(MqApplication *application);
-
MqWindow *
mq_application_add_window(MqApplication *application, const gchar **uris);